hotFix(env): refs #7388 disable webpack nodeEnv
This commit is contained in:
parent
f442f0dafb
commit
dcc943e82d
|
@ -161,7 +161,6 @@ pipeline {
|
||||||
def packageJson = readJSON file: 'package.json'
|
def packageJson = readJSON file: 'package.json'
|
||||||
env.VERSION = packageJson.version
|
env.VERSION = packageJson.version
|
||||||
}
|
}
|
||||||
echo "BRANCH_NAME: ${env.BRANCH_NAME}"
|
|
||||||
sh 'gulp build'
|
sh 'gulp build'
|
||||||
sh 'docker-compose build front'
|
sh 'docker-compose build front'
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,6 +70,7 @@ let baseConfig = {
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
optimization: {
|
optimization: {
|
||||||
|
nodeEnv: false,
|
||||||
runtimeChunk: true,
|
runtimeChunk: true,
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
chunks: 'all',
|
chunks: 'all',
|
||||||
|
|
Loading…
Reference in New Issue