Skip to content

Update webpack plugin to run as a npm script #2112

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

Closed
hdeshev opened this issue Oct 10, 2016 · 0 comments
Closed

Update webpack plugin to run as a npm script #2112

hdeshev opened this issue Oct 10, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@hdeshev
Copy link
Contributor

hdeshev commented Oct 10, 2016

Change the behavior for release webpacking so that it is run by a npm script. That script should be able to:

  • webpack the application code, outputting bundles into the platform subfolder. Possibly introduce a tns platform info command to get the correct platform app dir.
  • prepare/build/run the platform with the --bundle option

This change will remove much of the magic in the bundling process and make it easy to customize by just changing the respective webpack.config.js or webpack.config.<platform>.js files.

@hdeshev hdeshev added this to the 2.4.0 milestone Oct 10, 2016
@hdeshev hdeshev self-assigned this Oct 10, 2016
@hdeshev hdeshev changed the title Update webpack plugin to run as a npm scrip Update webpack plugin to run as a npm script Oct 10, 2016
@enchev enchev modified the milestones: 2.5.0, 2.4.0 Nov 21, 2016
@vchimev vchimev self-assigned this Jan 4, 2017
@vchimev vchimev closed this as completed Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants