From beb3101e8fc100599738a05e7c3b14e2aa98bc11 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 6 Oct 2025 21:32:59 -0700 Subject: Add hono stubs as a hack for now --- vite.config.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'vite.config.ts') diff --git a/vite.config.ts b/vite.config.ts index e71fdf3..1616d2b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -6,6 +6,8 @@ export default defineConfig({ resolve: { alias: { '@': path.resolve(__dirname, 'src'), + '@hono/node-server': path.resolve(__dirname, 'src/utils/hono-stub.ts'), + 'hono': path.resolve(__dirname, 'src/utils/hono-stub.ts'), }, }, plugins: [react()], @@ -13,9 +15,4 @@ export default defineConfig({ 'process.env': {}, 'global': 'globalThis', }, - build: { - rollupOptions: { - external: ['hono', '@hono/node-server'], - }, - }, }); -- cgit v1.2.3-70-g09d2