Expected Behavior
The dist folder should be cleaned before a build
Current Behavior
When you build your app when a dist folder allready exists, all old files which may not be part of the application anymore, still remains in the dist folder and will be part of the new build.
Steps to reproduce the issue
- Build an app with ui5 build
- Delete a file from you app (e.g. a controller/view)
- Build the app again
- Deleted file still part of dist folder
Context
- UI5 Module Version (output of
ui5 --version when using the CLI): 1.5.4
- Node.js Version:
v10.16.0
- npm Version:
6.9.0
- OS/Platform:
Windows 10
- Browser (if relevant):
Chrome
Affected components (if known)
If this behaviour is supposed to be like this, is there a way to clean the dist folder before the execution of the actual build, without using Grunt or something else?
Best Regards
Domae
Expected Behavior
The dist folder should be cleaned before a build
Current Behavior
When you build your app when a dist folder allready exists, all old files which may not be part of the application anymore, still remains in the dist folder and will be part of the new build.
Steps to reproduce the issue
Context
ui5 --versionwhen using the CLI):1.5.4v10.16.06.9.0Windows 10ChromeAffected components (if known)
If this behaviour is supposed to be like this, is there a way to clean the dist folder before the execution of the actual build, without using Grunt or something else?
Best Regards
Domae