Browse Source

Merge pull request #13689 from overleaf/ae-runtime-chunk

[webpack] Set optimization.runtimeChunk

GitOrigin-RevId: 02f5cfd01d583b3940036b49d09dd99ee7fb7c39
Alf Eaton 3 years ago
parent
commit
7f41883367
1 changed files with 4 additions and 0 deletions
  1. 4 0
      services/web/webpack.config.dev.js

+ 4 - 0
services/web/webpack.config.dev.js

@@ -91,4 +91,8 @@ module.exports = merge(base, {
       /^js\/standard_fonts/,
     ],
   },
+
+  optimization: {
+    runtimeChunk: 'single',
+  },
 })