aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/config
diff options
context:
space:
mode:
authorJeremy <jeremy.davis@sonarsource.com>2020-03-23 17:26:25 +0100
committersonartech <sonartech@sonarsource.com>2020-03-23 20:03:41 +0000
commit0c8d18b4ed3e08536eef559153c62fb80cffa253 (patch)
tree48ae8838180f4a4a62b91c571b1e23ff8c3e08f8 /server/sonar-web/config
parent691df45b87f1b6a1281e8b18ca8075e5f5e1d8c8 (diff)
downloadsonarqube-0c8d18b4ed3e08536eef559153c62fb80cffa253.tar.gz
sonarqube-0c8d18b4ed3e08536eef559153c62fb80cffa253.zip
SONAR-13155 Upgrade dependencies
Diffstat (limited to 'server/sonar-web/config')
-rw-r--r--server/sonar-web/config/webpack.config.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/config/webpack.config.js b/server/sonar-web/config/webpack.config.js
index 8166e241149..1efb0408457 100644
--- a/server/sonar-web/config/webpack.config.js
+++ b/server/sonar-web/config/webpack.config.js
@@ -76,7 +76,8 @@ module.exports = ({ production = true, release = false }) => {
optimization: {
splitChunks: {
chunks: 'all',
- automaticNameDelimiter: '-'
+ automaticNameDelimiter: '-',
+ maxSize: 310000
},
minimize: production && release
}
@@ -204,7 +205,7 @@ module.exports = ({ production = true, release = false }) => {
? {
// ignore source maps and documentation chunk
assetFilter: assetFilename =>
- !assetFilename.endsWith('.map') && !assetFilename.startsWith('js/docs.'),
+ !assetFilename.endsWith('.map') && !assetFilename.startsWith('js/docs'),
maxAssetSize: 310000,
hints: 'error'
}