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