npm package diff

Package: @forge/tunnel

Versions: 5.10.1-next.11 - 5.10.1-next.12

File: package/out/servers/dev-server.js

Index: package/out/servers/dev-server.js
===================================================================
--- package/out/servers/dev-server.js
+++ package/out/servers/dev-server.js
@@ -21,18 +21,20 @@
     logger;
     configFile;
     fileSystemReader;
     statsigService;
+    i18nResourceBundlingService;
     app;
     httpServer;
     permissions;
     remotes;
-    constructor(invocationService, logger, configFile, fileSystemReader, statsigService) {
+    constructor(invocationService, logger, configFile, fileSystemReader, statsigService, i18nResourceBundlingService) {
         this.invocationService = invocationService;
         this.logger = logger;
         this.configFile = configFile;
         this.fileSystemReader = fileSystemReader;
         this.statsigService = statsigService;
+        this.i18nResourceBundlingService = i18nResourceBundlingService;
         this.app = (0, express_1.default)();
         this.app.use(express_1.default.json({ limit: '6mb' }));
         this.app.post(`/:fnKey`, this.handleInvocation);
     }
@@ -61,13 +63,16 @@
         }
         const bundler = isNodeJsRuntime
             ? (0, bundler_1.getNodeBundler)(this.logger, (0, bundler_1.getWrapperProvider)({ fileSystemReader: this.fileSystemReader, statsigService: this.statsigService }), this.configFile, this.statsigService)
             : new bundler_1.SandboxBundler(this.logger);
+        const { translations, modules } = await this.configFile.readConfig();
+        const i18nResourceBundle = await this.i18nResourceBundlingService.bundle(modules, translations);
         const { result } = await bundler.watch({
             appDirectory: process.cwd(),
             entryPoints,
             watchMode,
-            successMessage: cli_shared_1.Text.tunnel.functionsBundlingSucceeded
+            successMessage: cli_shared_1.Text.tunnel.functionsBundlingSucceeded,
+            i18nResourceBundle
         }, watch);
         return result;
     }
     getApp() {