NativeScript / NativeScript/nativescript-cli

An extraneous file remains in the produced APK when snapshot is enabled

Open
#4,289 0 comments 0 reactions 1 assignee View on GitHub

@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.

snapshot

To Reproduce
Build the app with the Snapshot flag and inspect the produce APK.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.