From 15000057c20f1a2b6e0a09db5d5ba2eebbe7bf32 Mon Sep 17 00:00:00 2001 From: Lukas Spirig Date: Thu, 16 Nov 2023 17:00:54 +0100 Subject: [PATCH] build: declare @lit/react as external --- src/react/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/react/vite.config.ts b/src/react/vite.config.ts index 7aade4ff32..a5074e8359 100644 --- a/src/react/vite.config.ts +++ b/src/react/vite.config.ts @@ -47,7 +47,7 @@ export default defineConfig((config) => outDir: outDir.pathname, emptyOutDir: true, rollupOptions: { - external: [/^@sbb-esta\/lyne-components\/?/, /^react/], + external: [/^@sbb-esta\/lyne-components\/?/, /^@lit\/react\/?/, /^react/], }, }, }),