From e2f4ba434ed869bcaa3d4958d26c64efcfb4c4b8 Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Tue, 8 Feb 2022 15:26:43 -0600 Subject: [PATCH] fix: exclude './server.js' from custom-elements test --- .../test/fixtures/custom-elements/my-component-lib/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/astro/test/fixtures/custom-elements/my-component-lib/index.js b/packages/astro/test/fixtures/custom-elements/my-component-lib/index.js index 7054d021969f..79ebae558895 100644 --- a/packages/astro/test/fixtures/custom-elements/my-component-lib/index.js +++ b/packages/astro/test/fixtures/custom-elements/my-component-lib/index.js @@ -10,7 +10,8 @@ export default { viteConfig() { return { optimizeDeps: { - include: ['@astrojs/test-custom-element-renderer/polyfill.js', '@astrojs/test-custom-element-renderer/hydration-polyfill.js'] + include: ['@astrojs/test-custom-element-renderer/polyfill.js', '@astrojs/test-custom-element-renderer/hydration-polyfill.js'], + exclude: ['@astrojs/test-custom-element-renderer/server.js'] } } }