NativeScript / nativescript-dev-webpack

A package to help with webpacking NativeScript apps.
Apache License 2.0
97 stars 49 forks source link

fix: exclude files from tests folder from built application #1056

Closed Fatme closed 4 years ago

Fatme commented 4 years ago

Currently unit tests files and their dependencies are always included in the built application regardless if tns test or another command is executed. This way the size of built package is increased as all unit test related dependencies are included (such as mocha, chai, angularTestBed and their dependencies as well).

Rel to https://github.com/NativeScript/nativescript-dev-webpack/issues/1041

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes/Implements/Closes #[Issue Number].