Skip to content

Commit 547a39f

Browse files
authored
Update webpack.config.js
1 parent 3189011 commit 547a39f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var plugins = [];
1010
if (process.argv.indexOf('-p') > -1) { //生产环境
1111
plugins.push(new webpack.DefinePlugin({ //编译成生产版本
1212
'process.env': {
13-
NODE_ENV: JSON.stringify('"production"')
13+
NODE_ENV: JSON.stringify('production')
1414
}
1515
}));
1616
publicPath = '/react-cnode/dist/';

0 commit comments

Comments
 (0)