NativeScript / NativeScript/nativescript-cli
An extraneous file remains in the produced APK when snapshot is enabled
Open
@KristianDD is already working on this.
Since Jan 21, 2019.
backlog
bug
os: android
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
Environment
- CLI: 5.1.0
- Plugin(s): "nativescript-dev-webpack": "~0.18.0"
Describe the bug
When building the application with the Snapshot option enabled, the _embedded_scripts_.js file remains in the produced APK. If I am not mistaken, this file is not required and can safely be removed from the application package, which will slightly reduce its size.

To Reproduce
Build the app with the Snapshot flag and inspect the produce APK.
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.
Assessment
This issue has not been assessed yet.