From e06a8efd01141bbbf044e14dd40641e7dab23ebc Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 17 Jan 2023 17:01:51 +0100 Subject: [PATCH] Enable viteExternalsPlugin in dev mode --- code/lib/builder-vite/src/vite-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/lib/builder-vite/src/vite-config.ts b/code/lib/builder-vite/src/vite-config.ts index 316d970189a0..c282601e59eb 100644 --- a/code/lib/builder-vite/src/vite-config.ts +++ b/code/lib/builder-vite/src/vite-config.ts @@ -91,7 +91,7 @@ export async function pluginConfig(options: Options) { } }, }, - viteExternalsPlugin(globals, { useWindow: false, disableInServe: true }), + viteExternalsPlugin(globals, { useWindow: false }), ] as PluginOption[]; // TODO: framework doesn't exist, should move into framework when/if built