fuzzyworld

north-star / files / vite.config.js

vite.config.js

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

4e701dc7 2026-03-16 Pavel Safronov1import { defineConfig } from 'vite';
b4e7f682 2026-03-16 Pavel Safronov2import checker from 'vite-plugin-checker';
b10cf38c 2026-10-27 Pavel Safronov3import fuzzyworld from 'fuzzyworld-tools/vite';
4e701dc7 2026-03-16 Pavel Safronov4
5export default defineConfig({
6 root: 'src',
b4e7f682 2026-03-16 Pavel Safronov7 plugins: [
b10cf38c 2026-10-27 Pavel Safronov8 fuzzyworld(),
b4e7f682 2026-03-16 Pavel Safronov9 checker({
10 typescript: true,
11 }),
12 ],
4e701dc7 2026-03-16 Pavel Safronov13 build: {
14 target: 'esnext',
15 outDir: '../public',
16 emptyOutDir: true,
17 rollupOptions: {
18 output: {
19 entryFileNames: '[name].js',
20 chunkFileNames: '[name].js',
21 assetFileNames: '[name][extname]'
22 }
23 }
24 }
25});