Skip to content
This repository was archived by the owner on Jul 7, 2022. It is now read-only.

Supporting webpack #24

Merged
merged 1 commit into from
Dec 12, 2016
Merged

Supporting webpack #24

merged 1 commit into from
Dec 12, 2016

Conversation

hdeshev
Copy link
Contributor

@hdeshev hdeshev commented Dec 12, 2016

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.

Details here:
http://docs.nativescript.org/angular/tooling/bundling-with-webpack.html#referencing-platform-specific-modules-from-packagejson

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`.

Details here:
http://docs.nativescript.org/angular/tooling/bundling-with-webpack.html#referencing-platform-specific-modules-from-packagejson
@NathanaelA
Copy link
Owner

NathanaelA commented Dec 12, 2016

Thanks @hdeshev

@ignaciolarranaga
Copy link

@NathanaelA when do you think you can release a version ?

@NathanaelA
Copy link
Owner

V1.2.2 Has been Published @ignaciolarranaga

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants