Merge branch 'fix-webpack-node-env' into 'master'
Enable webpack nodeEnv optimization See merge request gitlab-org/gitlab-ce!20075
This commit is contained in:
commit
a01458a9b0
2 changed files with 1 additions and 1 deletions
|
@ -15,6 +15,7 @@ function fatalError(message) {
|
|||
// disable problematic options
|
||||
webpackConfig.entry = undefined;
|
||||
webpackConfig.mode = 'development';
|
||||
webpackConfig.optimization.nodeEnv = false;
|
||||
webpackConfig.optimization.runtimeChunk = false;
|
||||
webpackConfig.optimization.splitChunks = false;
|
||||
|
||||
|
|
|
@ -174,7 +174,6 @@ module.exports = {
|
|||
},
|
||||
|
||||
optimization: {
|
||||
nodeEnv: false,
|
||||
runtimeChunk: 'single',
|
||||
splitChunks: {
|
||||
maxInitialRequests: 4,
|
||||
|
|
Loading…
Reference in a new issue