Skip to content

Update webpack plugin to run as a npm script #2112

@hdeshev

Description

@hdeshev

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions