Skip to content

fix(webpack): bundling with uglify #87

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 21, 2017
Merged

Conversation

sis0k0
Copy link
Contributor

@sis0k0 sis0k0 commented Dec 20, 2017

  • updates webpack configurations to 0.9.0
  • disables emitting of helper functions
    This way the global __extend, __decorate, etc. functions will be used
    and they won't be renamed when running webpack. This is important
    because the static binding generator looks for nodes with these names
    when traversing the js sources for native extenders.

fixes NativeScript/nativescript-dev-webpack#265

This way the global __extend, __decorate, etc. functions will be used
and they won't be renamed when running webpack. This is important
because the static binding generator looks for nodes with these names
when traversing the js sources for native extenders.
@@ -0,0 +1,3 @@
// There is a bug in angular: https://github.com/angular/angular-cli/pull/8589/files
// Legendary stuff, its webpack plugin pretty much doesn't work with empty TypeScript files in v1.8.3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha nice

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

Successfully merging this pull request may close these issues.

[Android] nativescript-ui-samples-angular crashes on launch
2 participants