mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build(webpack): correct define-plugin usage
This commit is contained in:
parent
f876c72368
commit
704b66590d
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ if (process.env.NODE_ENV === 'production') {
|
|||
plugins.push(
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
NODE_ENV: 'production',
|
||||
NODE_ENV: JSON.stringify('production'),
|
||||
},
|
||||
})
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue