mirror of
https://github.com/wassname/talk.git
synced 2026-07-13 17:45:56 +08:00
Production webpack
This commit is contained in:
@@ -19,7 +19,7 @@ module.exports = Object.assign({}, devConfig, {
|
||||
precss,
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
'NODE_ENV': JSON.stringify('development'),
|
||||
'NODE_ENV': JSON.stringify('production'),
|
||||
'VERSION': JSON.stringify(require("./package.json").version)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user