Skip to content

Commit 4a280e6

Browse files
committed
change dist file directory
1 parent 05261da commit 4a280e6

9 files changed

+2
-2
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "使用React、Redux、Immutable编写「俄罗斯方块」。Use Tetact, Redux, Immutable to coding \"Tetris\".",
55
"scripts": {
66
"start": "webpack-dev-server --progress",
7-
"build": "rm -rf ./build/* && webpack --config ./webpack.production.config.js --progress && ls ./build"
7+
"build": "rm -rf ./docs/* && webpack --config ./webpack.production.config.js --progress && ls ./docs"
88
},
99
"repository": {
1010
"type": "git",

webpack.production.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = {
55
devtool: config.devtool,
66
entry: config.entry,
77
output: {
8-
path: __dirname + '/build',
8+
path: __dirname + '/docs',
99
filename: 'app-' + config.version+'.js',
1010
},
1111
eslint: config.eslint,

0 commit comments

Comments
 (0)