2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-16 09:10:33 +03:00

- dont destroy /dist/ when building homepage

- update public path (should work this time!)
- load octicons from CDN
This commit is contained in:
Jeff
2018-01-15 15:52:31 -08:00
parent a0ba4b4c3b
commit ce6d3ea2cd
6 changed files with 10 additions and 7 deletions
+4 -2
View File
@@ -14,8 +14,10 @@ var spinner = ora(`building ${text}...`);
spinner.start();
var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory);
rm('-rf', assetsPath);
mkdir('-p', assetsPath);
if (!utils.shouldBuildHomepage()) {
rm('-rf', assetsPath);
mkdir('-p', assetsPath);
}
/**
* Build the /dist/ folder