Clean build folder

This commit is contained in:
Henrique Dias committed 2017-07-06 09:04:10 +01:00
1 parent efcf5f077e
commit 69d8cd6343
8 files changed
+17 -53

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ var webpack = require('webpack')
var config = require('./config')
var webpackConfig = require('./webpack.dev.conf')
rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
rm(path.join(config.assetsRoot, config.assetsSubDirectory), err => {
if (err) throw err
webpack(webpackConfig, function (err, stats) {
if (err) throw err