You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an external npm common module, shared from all my apps, that is wirtten in Typescript. Supposing that this module is called common_module, when I build it, the transpiler for each typescript import generates a require('file_name'). When karma-commonjs tries to resolve these require, it searches for something like .../node_modules/file_name, but the module is located at .../node_modules/common_module.
The text was updated successfully, but these errors were encountered:
lucaoliano
changed the title
Unable to load external module that has been transpiled from Typescript and required from my app
Unable to load external module that has been transpiled from Typescript and that is required from my app
Jun 6, 2016
I have an external npm common module, shared from all my apps, that is wirtten in Typescript. Supposing that this module is called
common_module
, when I build it, the transpiler for each typescript import generates arequire('file_name')
. When karma-commonjs tries to resolve these require, it searches for something like.../node_modules/file_name
, but the module is located at.../node_modules/common_module
.The text was updated successfully, but these errors were encountered: