From d2587e4cf4579cbcd54f2a704b74f2edd0f67f1a Mon Sep 17 00:00:00 2001 From: Scott Nath Date: Wed, 19 Jun 2024 13:34:43 -0400 Subject: [PATCH] :rocket: externalize lit directives --- vite.component.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.component.config.js b/vite.component.config.js index 9b7a63f..b6b6f70 100644 --- a/vite.component.config.js +++ b/vite.component.config.js @@ -18,7 +18,7 @@ export default defineConfig(({ mode }) => { entry }, rollupOptions: { - external: ['lit', '@lit/task'], + external: ['lit', 'lit/directives/choose.js', 'lit/directives/unsafe-html.js', '@lit/task'], }, target: 'esnext', },