Skip to content

App_Resources are duplicated on consecutive builds with --bundle #3280

@sis0k0

Description

@sis0k0

Tell us about the problem

If you run a {N} build with webpack, the App_Resources of the project will be copied to platforms/.../app and then will be moved to their right locations in the native project. This is the expected behaviour. However, on each consecutive build, the App_Resources will be copied again to platforms/.../app and won't be removed.

Which platform(s) does your issue occur on?

Both

Please provide the following version numbers that your issue occurs with:

  • CLI: 3.4.0
  • Cross-platform modules: 3.4.0
  • Runtime(s): 3.4.0
  • nativescript-dev-webpack: 0.9.0

Steps to reproduce

tns build android --bundle
// no App_Resources in platforms/.../app
tns build android --bundle
// there are App_Resources in platforms/.../app

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions