Skip to content

Commit

Permalink
fix build script mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 5, 2016
1 parent 5ccaded commit db767e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spinner.start()

var assetsPath = path.join(config.build.assetsRoot, config.build.assetsPrefix)
rm('-rf', assetsPath)
mkdir(assetsPath)
mkdir('-p', assetsPath)
cp('-R', 'static/', assetsPath)

webpack(webpackConfig, function (err, stats) {
Expand Down

0 comments on commit db767e5

Please sign in to comment.