NativeScript / NativeScript/nativescript-cli
Ensure same build result for debug and release builds
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
Is your feature request related to a problem? Please describe.
Currently when --env.snapshot is passed for debug builds, NativeScript CLI shows an warning and starts webpack compilation without --env.snapshot option. This led to the problem that different build result is produced when application is built in release and debug mode.
Describe the solution you'd like
We need a common, unified way so the application can produce the same build result regardless of the build mode (release or debug)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the NativeScript CLI handles --env.snapshot for debug builds and where it invokes webpack for debug versus release. Compare those paths and define the work as complete when both build modes produce the same application build result without the current warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100