Here is one approach to fixing Issue #303. I just added the ability to override the glob pattern that del matches against in the clean task. I had to also switch from fs to node-fs-extra for copying the production files from their temporary build location, since fs.renameSync requires the destination folder to not already exist.
I'm sure there are any number of other ways of handling this that would give similar results....
Here is one approach to fixing Issue #303. I just added the ability to override the glob pattern that
del
matches against in the clean task. I had to also switch from fs to node-fs-extra for copying the production files from their temporary build location, sincefs.renameSync
requires the destination folder to not already exist.I'm sure there are any number of other ways of handling this that would give similar results....