Skip to content

Commit

Permalink
change dist file directory
Browse files Browse the repository at this point in the history
  • Loading branch information
chvin committed Apr 2, 2018
1 parent 05261da commit 4a280e6
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 2 deletions.
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.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -4,7 +4,7 @@
"description": "使用React、Redux、Immutable编写「俄罗斯方块」。Use Tetact, Redux, Immutable to coding \"Tetris\".",
"scripts": {
"start": "webpack-dev-server --progress",
"build": "rm -rf ./build/* && webpack --config ./webpack.production.config.js --progress && ls ./build"
"build": "rm -rf ./docs/* && webpack --config ./webpack.production.config.js --progress && ls ./docs"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion webpack.production.config.js
Expand Up @@ -5,7 +5,7 @@ module.exports = {
devtool: config.devtool,
entry: config.entry,
output: {
path: __dirname + '/build',
path: __dirname + '/docs',
filename: 'app-' + config.version+'.js',
},
eslint: config.eslint,
Expand Down

0 comments on commit 4a280e6

Please sign in to comment.