kopia lustrzana https://github.com/shoelace-style/shoelace
Overwrite directory
rodzic
94f2327f91
commit
1fe5c6b4ec
|
@ -8,7 +8,7 @@ const del = require('del');
|
||||||
console.log(chalk.cyan('Creating docs distribution 📚\n'));
|
console.log(chalk.cyan('Creating docs distribution 📚\n'));
|
||||||
await del('./docs/dist');
|
await del('./docs/dist');
|
||||||
await copy('./dist', './docs/dist');
|
await copy('./dist', './docs/dist');
|
||||||
await copy('./themes', './docs/themes');
|
await copy('./themes', './docs/themes', { overwrite: true });
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue