bubbles / files / vite.config.ts
vite.config.ts
dcc4757f 2026-04-09 Pavel Safronov | 1 | import { defineConfig } from 'vite'; |
fc6e1fbf 2026-04-09 Pavel Safronov | 2 | import { qrcode } from 'vite-plugin-qrcode'; |
c71d2317 2026-10-27 Pavel Safronov | 3 | import fuzzyworld from 'fuzzyworld-tools/vite'; |
dcc4757f 2026-04-09 Pavel Safronov | 4 | |
| 5 | export default defineConfig({ | |
c71d2317 2026-10-27 Pavel Safronov | 6 | // fuzzyworld() sets base to /bubbles/ (from package.json) for apps.fuzzyworld.net. |
| 7 | plugins: [qrcode(), fuzzyworld()], | |
dcc4757f 2026-04-09 Pavel Safronov | 8 | publicDir: 'static', |
| 9 | build: { | |
| 10 | outDir: 'dist', | |
| 11 | target: 'esnext', | |
| 12 | sourcemap: true, | |
| 13 | }, | |
| 14 | }); |