Merge pull request #15514 from overleaf/jpa-single-webpack-runtime

[web] enable webpack option runtimeChunk=single in dev-env

GitOrigin-RevId: 905b362496fc5df896632db920c91aee75c30b46
This commit is contained in:
Miguel Serrano
2023-11-01 09:03:16 +00:00
committed by Copybot
parent d62f2c6a40
commit 1f56441184
2 changed files with 12 additions and 2 deletions
+3 -1
View File
@@ -93,6 +93,8 @@ module.exports = merge(base, {
},
optimization: {
runtimeChunk: process.env.WEBPACK_RUNTIME_CHUNK || false,
runtimeChunk: {
name: 'runtime',
},
},
})