Skip to content

Commit f08dc63

Browse files
authored
build: copy entries in static folder in to config.build.assetsRoot
fixed vuejs-templates#208
1 parent cf36da6 commit f08dc63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/build/build.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spinner.start()
2020
var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory)
2121
rm('-rf', assetsPath)
2222
mkdir('-p', assetsPath)
23-
cp('-R', 'static/', assetsPath)
23+
cp('-R', 'static/', config.build.assetsRoot)
2424

2525
webpack(webpackConfig, function (err, stats) {
2626
spinner.stop()

0 commit comments

Comments
 (0)