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

Set webpack in production mode based on --release option #911

@rosen-vladimirov

Description

@rosen-vladimirov

Is your feature request related to a problem? Please describe.
Webpack has two modes - development and production. Currently they are switched on automatically based on the --env.uglify option, however it seems much more convenient to set it based on the --release flag.

Describe the solution you'd like
When --release is passed - set the mode to production. When it is not - set it to development.

Describe alternatives you've considered
None

Additional context
None

Metadata

Metadata

Assignees

Labels

CLI-6.0.0Describes issues related to NativeScript 6.0.0 releasebreaking-changefeaturemigration-to-bundleThe issue is describing a breaking change in the Bundle workflow compared to the Legacy one.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions