summaryrefslogtreecommitdiff
path: root/vite.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vite.config.ts')
-rw-r--r--vite.config.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/vite.config.ts b/vite.config.ts
index 8022455..e71fdf3 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -9,4 +9,13 @@ export default defineConfig({
},
},
plugins: [react()],
+ define: {
+ 'process.env': {},
+ 'global': 'globalThis',
+ },
+ build: {
+ rollupOptions: {
+ external: ['hono', '@hono/node-server'],
+ },
+ },
});