fuzzyworld

bubbles / files / vite.config.ts

vite.config.ts

Blame: the commit that last changed each line · file · history

dcc4757f 2026-04-09 Pavel Safronov1import { defineConfig } from 'vite';
fc6e1fbf 2026-04-09 Pavel Safronov2import { qrcode } from 'vite-plugin-qrcode';
c71d2317 2026-10-27 Pavel Safronov3import fuzzyworld from 'fuzzyworld-tools/vite';
dcc4757f 2026-04-09 Pavel Safronov4
5export default defineConfig({
c71d2317 2026-10-27 Pavel Safronov6 // fuzzyworld() sets base to /bubbles/ (from package.json) for apps.fuzzyworld.net.
7 plugins: [qrcode(), fuzzyworld()],
dcc4757f 2026-04-09 Pavel Safronov8 publicDir: 'static',
9 build: {
10 outDir: 'dist',
11 target: 'esnext',
12 sourcemap: true,
13 },
14});