Files
shoelace/make-dist.js
Cory LaViska 0b86753038 2.0 cleanup
2020-07-15 17:30:37 -04:00

15 lines
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);
}
})();