Skip to content

Commit 4c6bb4e

Browse files
authored
Update build.js
1 parent b3d785f commit 4c6bb4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/build/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var webpackConfig = require('./webpack.prod.conf')
1313
var spinner = ora('building for production...')
1414
spinner.start()
1515

16-
rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
16+
rm(path.join(config.build.assetsRoot, '*'), err => {
1717
if (err) throw err
1818
webpack(webpackConfig, function (err, stats) {
1919
spinner.stop()

0 commit comments

Comments
 (0)