Add a clean step when building the bundle.
This deletes existing contens of the build and public folders.
When creating a bundle locally now, we will get the same result as when building via the CI. Before, when not cleaning the public folder, you will get a ui-bundle.zip file with content while on CI where there was no public folder and the zip file contained crap.
With this PR, we can now identify dependency updates breaking the system when doing local tests.
Add a clean step when building the bundle. This deletes existing contens of the build and public folders.
When creating a bundle locally now, we will get the same result as when building via the CI. Before, when not cleaning the public folder, you will get a ui-bundle.zip file with content while on CI where there was no public folder and the zip file contained crap.
With this PR, we can now identify dependency updates breaking the system when doing local tests.