From 7f41883367e9283e12314bbdf1e3592d254b0b6c Mon Sep 17 00:00:00 2001
From: Alf Eaton <alf.eaton@overleaf.com>
Date: Fri, 7 Jul 2023 07:34:59 +0100
Subject: [PATCH] Merge pull request #13689 from overleaf/ae-runtime-chunk

[webpack] Set optimization.runtimeChunk

GitOrigin-RevId: 02f5cfd01d583b3940036b49d09dd99ee7fb7c39
---
 services/web/webpack.config.dev.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/services/web/webpack.config.dev.js b/services/web/webpack.config.dev.js
index 405f14a1a6..c0b4ee5f89 100644
--- a/services/web/webpack.config.dev.js
+++ b/services/web/webpack.config.dev.js
@@ -91,4 +91,8 @@ module.exports = merge(base, {
       /^js\/standard_fonts/,
     ],
   },
+
+  optimization: {
+    runtimeChunk: 'single',
+  },
 })