mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 09:15:41 +03:00
Actually turn on production mode: env vars need to be explicitly passed through
This commit is contained in:
parent
c0938f270e
commit
2adb8bac5c
1 changed files with 6 additions and 1 deletions
|
@ -19,7 +19,12 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
plugins: [
|
||||
new webpack.IgnorePlugin(/^olm/)
|
||||
new webpack.IgnorePlugin(/^olm/),
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
NODE_ENV: JSON.stringify(process.env.NODE_ENV)
|
||||
}
|
||||
})
|
||||
],
|
||||
devtool: 'source-map'
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue