Closed hdeshev closed 7 years ago
In order to be a webpack-discoverable module, we need to remove the .js suffix in the package.json main attribute. This allows webpack to correctly look for my-module.android.js or my-module.ios.js.
.js
main
my-module.android.js
my-module.ios.js
Details here: http://docs.nativescript.org/angular/tooling/bundling-with-webpack.html#referencing-platform-specific-modules-from-packagejson
@PanayotCankov when do you think you can review this PR and release a version ?
@PanayotCankov ? @hdeshev
The fix should be up on npm. I'm sorry we had to keep you waiting.
no worries, thanks!
In order to be a webpack-discoverable module, we need to remove the
.js
suffix in the package.jsonmain
attribute. This allows webpack to correctly look formy-module.android.js
ormy-module.ios.js
.Details here: http://docs.nativescript.org/angular/tooling/bundling-with-webpack.html#referencing-platform-specific-modules-from-packagejson