chore(build): update build scripts

This commit is contained in:
Adam Bradley
2018-03-02 23:57:52 -06:00
parent 7c935e3d84
commit afd89e77e4
8 changed files with 203 additions and 1045 deletions

View File

@ -0,0 +1,12 @@
const fs = require('fs-extra');
const path = require('path');
const cleanDirs = [
'dist'
];
cleanDirs.forEach(dir => {
const cleanDir = path.join(__dirname, '../', dir);
fs.removeSync(cleanDir);
});