We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93f3775 commit 23df73eCopy full SHA for 23df73e
index.js
@@ -268,11 +268,12 @@ module.exports = function(S) {
268
if (includePaths && includePaths.length) {
269
includePaths.forEach(function(p) {
270
271
- // TODO: path.join(_this.optimizedDistPath, p) must be created here before files can be copied over
272
-
+ wrench.mkdirSyncRecursive(path.join(_this.optimizedDistPath, p), '0777');
273
wrench.copyDirSyncRecursive(
274
- path.join(_this.evt.options.pathDist, p),
275
- path.join(_this.optimizedDistPath, p)
+ path.join(_this.evt.options.pathDist, p),
+ path.join(_this.optimizedDistPath, p), {
+ forceDelete: true
276
+ }
277
);
278
});
279
}
0 commit comments