From 577d912b8ed5e5c3d48d581d7da9fd453dd9ae87 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Thu, 28 Oct 2021 14:25:29 -0400 Subject: [PATCH] Exclude lit-server from being optimized (#1691) This should get the lit example working from `npm`. --- packages/renderers/renderer-lit/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/renderers/renderer-lit/index.js b/packages/renderers/renderer-lit/index.js index 28ccac1a9..5050618fd 100644 --- a/packages/renderers/renderer-lit/index.js +++ b/packages/renderers/renderer-lit/index.js @@ -20,6 +20,7 @@ export default { '@webcomponents/template-shadowroot/template-shadowroot.js', 'lit/experimental-hydrate-support.js', ], + exclude: ['@astrojs/renderer-lit/server.js'] }, ssr: { external: [