NativeScript / NativeScript/nativescript-cli
Application is rebuilt when passing --env.uglify for a first time
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 5.2.0
- Android Runtime: 5.2.0
- iOS Runtime: 5.2.0
Describe the bug
when you run project with: tns run ios --bundle and then with: tns run ios --bundle --env.uglify, you will see that the project will pass through building process.
To Reproduce
tns create appNG --ngtns run ios --bundle- stop the process
tns run ios --bundle --env.uglify
you will see :Building project..., Project successfully built.in console logs
Expected behavior
not sure this behavior is correct
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 reproducing the two commands in the issue: tns run ios --bundle, followed by tns run ios --bundle --env.uglify, and compare the build logs. Read the NativeScript CLI build and bundling entry points to determine whether changing --env.uglify should invalidate the existing build; done means the behavior and expected outcome are documented and covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, javascript
- Domain
- build-system, cli, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100