diff options
| author | Elizabeth Hunt <me@liz.coffee> | 2025-10-06 21:32:59 -0700 |
|---|---|---|
| committer | Elizabeth Hunt <me@liz.coffee> | 2025-10-06 21:32:59 -0700 |
| commit | b782666105808cfa0fd3edf676a70a8f809afbfb (patch) | |
| tree | d0fc2ccfbcf861e6b911c80a9029d16662eac7b0 /vite.config.ts | |
| parent | de43eb05d2e43ab31effce3dcca62ad91a556b26 (diff) | |
| download | ansicolor-b782666105808cfa0fd3edf676a70a8f809afbfb.tar.gz ansicolor-b782666105808cfa0fd3edf676a70a8f809afbfb.zip | |
Add hono stubs as a hack for now
Diffstat (limited to 'vite.config.ts')
| -rw-r--r-- | vite.config.ts | 7 |
1 files changed, 2 insertions, 5 deletions
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'], - }, - }, }); |
