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:
Clement Ho 2018-06-21 20:11:28 +00:00
commit a01458a9b0
2 changed files with 1 additions and 1 deletions

View file

@ -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;

View file

@ -174,7 +174,6 @@ module.exports = {
},
optimization: {
nodeEnv: false,
runtimeChunk: 'single',
splitChunks: {
maxInitialRequests: 4,