fuzzyworld

north-star / main_old / files / vite.config.js

Branch main_old · default branch · all branches

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';
4e701dc7 2026-03-16 Pavel Safronov3
4export default defineConfig({
5 root: 'src',
6 base: './',
b4e7f682 2026-03-16 Pavel Safronov7 plugins: [
8 checker({
9 typescript: true,
10 }),
11 ],
4e701dc7 2026-03-16 Pavel Safronov12 build: {
13 target: 'esnext',
14 outDir: '../public',
15 emptyOutDir: true,
16 rollupOptions: {
17 output: {
18 entryFileNames: '[name].js',
19 chunkFileNames: '[name].js',
20 assetFileNames: '[name][extname]'
21 }
22 }
23 }
24});