kopia lustrzana https://github.com/shoelace-style/shoelace
15 wiersze
349 B
JavaScript
15 wiersze
349 B
JavaScript
const chalk = require('chalk');
|
|
const copy = require('recursive-copy');
|
|
const del = require('del');
|
|
|
|
(async () => {
|
|
try {
|
|
// Create the docs distribution
|
|
console.log(chalk.cyan('Creating docs distribution 📚\n'));
|
|
await del('./docs/dist');
|
|
await copy('./dist', './docs/dist');
|
|
} catch (err) {
|
|
console.error(err);
|
|
}
|
|
})();
|