From 09fe7400dc62e5d7449f257f5587625eedd9f99a Mon Sep 17 00:00:00 2001 From: bent10 Date: Mon, 1 Apr 2024 21:36:59 +0700 Subject: [PATCH] fix: add `headless-route` as an external dep --- packages/vite/vite.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/vite/vite.config.ts b/packages/vite/vite.config.ts index 7634a5e..72681b0 100644 --- a/packages/vite/vite.config.ts +++ b/packages/vite/vite.config.ts @@ -6,7 +6,10 @@ import cacheDir from 'vite-plugin-cachedir' export default defineConfig({ plugins: [cacheDir()], build: { - ssr: 'src/index.ts' + ssr: 'src/index.ts', + rollupOptions: { + external: ['headless-route'] + } }, test: { globals: true,