Overwrite directory

This commit is contained in:
Cory LaViska
2020-08-18 17:39:01 -04:00
parent 94f2327f91
commit 1fe5c6b4ec

View File

@@ -8,7 +8,7 @@ const del = require('del');
console.log(chalk.cyan('Creating docs distribution 📚\n'));
await del('./docs/dist');
await copy('./dist', './docs/dist');
await copy('./themes', './docs/themes');
await copy('./themes', './docs/themes', { overwrite: true });
} catch (err) {
console.error(err);
}