Add webpack for css and js

This commit is contained in:
Tom Raithel
2017-01-25 11:44:16 +01:00
parent 9d6402d7fd
commit 74bfec3366
11 changed files with 58 additions and 5 deletions

13
tasks/clean.js Normal file
View File

@@ -0,0 +1,13 @@
import { emptyDir } from 'fs-extra';
import { distPath } from './file';
var distDir = distPath();
emptyDir(distDir, (err) => {
if (!err) {
console.log('Cleaned dist dir', distDir);
} else {
console.error(err);
}
});