mirror of https://github.com/status-im/codimd.git
Fix webpack production config
This commit is contained in:
parent
6e651c8108
commit
ddb953da0c
|
@ -21,7 +21,7 @@ module.exports = Object.assign({}, baseConfig, {
|
||||||
async: true,
|
async: true,
|
||||||
filename: '[name].js',
|
filename: '[name].js',
|
||||||
minChunks: Infinity
|
minChunks: Infinity
|
||||||
})
|
}),
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
'process.env': {
|
'process.env': {
|
||||||
'NODE_ENV': JSON.stringify('production')
|
'NODE_ENV': JSON.stringify('production')
|
||||||
|
|
Loading…
Reference in New Issue