From a5410b5f69b8a0e2ff214c6ad020b976245f7b9d Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Fri, 5 Jun 2020 07:50:46 -0400 Subject: [PATCH] Move docs-dist => docs --- .gitignore | 2 +- postbuild.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index ceab00342..db71eaee0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ src/components/icon/icons docs/assets/data/custom.json dist/ -docs-dist/ +docs/dist/ loader/ www/ diff --git a/postbuild.js b/postbuild.js index 8fddb30e2..c72fcbd61 100644 --- a/postbuild.js +++ b/postbuild.js @@ -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); }