mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
Overwrite directory
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user