The build using 'grunt' creates broken demos and examples in the build folder

Description

Hey,

When you basically run 'grunt' (which takes the target all) the demos and examples in the build folder created in the process do not work as their linked dependencies (the script tags) are pointing to empty locations as there a clean task performed at the end of the build task.

However in the zip file created in the products folder, this is not the case as the files are cleaned post compression.

I have found a quick fix for this issue that is to remove the 'clean:postBuild' task from the build task, which is post compression and will make a Pull Request as soon as someone verifies it is an issue and is not intended for whatsoever reason.

Environment

None

Activity

Show:

Justin Obara July 24, 2024 at 4:52 PM

Likely fixed after moving off of grunt in favour of npm scripts.

Justin Obara March 12, 2018 at 1:42 PM

In the past we were removing the build directory as it was initially intended as an intermediary step. However there was a desire to have some of the artifacts from the build available without having to go through the zip. We have since provided all of the generated/built artifacts in the dist directory so we may again be able to just clean out the build directory at the end of a build. 

and , do you have any thoughts on this?

Fixed

Details

Assignee

Reporter

Affects versions

Priority

Created March 10, 2018 at 11:12 AM
Updated July 24, 2024 at 4:52 PM
Resolved July 24, 2024 at 4:51 PM

Flag notifications