mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
Move docs-dist => docs
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -3,7 +3,7 @@ src/components/icon/icons
|
||||
docs/assets/data/custom.json
|
||||
|
||||
dist/
|
||||
docs-dist/
|
||||
docs/dist/
|
||||
loader/
|
||||
www/
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ const del = require('del');
|
||||
try {
|
||||
// Create the docs distribution
|
||||
console.log(chalk.cyan('Creating docs distribution 📚\n'));
|
||||
await del('./docs-dist');
|
||||
await Promise.all([copy('./docs', './docs-dist'), copy('./dist', './docs-dist/dist')]);
|
||||
await del('./docs/dist');
|
||||
await copy('./dist', './docs/dist');
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user