You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a workaround you can use weback to build your application. When you use webpack (i.e. --bundle) for building the application, only the files actually used by it will be included in the bundle. This way you'll never receive .d.ts, .tgz, tests, etc. in case you are not importing them in your application's code.
I'm closing this issue as in NativeScript 6.0 we'll support only bundle workflow in which the mentioned files are not included anymore. Webpack will include only the required files, so we consider this issue as resolved.
We have a lot of use cases when we need some files in debug mode, but we don't need them in release builds.
I've seen following in final packages:
Adding such feature will help users to optimize app size of final package.
The text was updated successfully, but these errors were encountered: