Files
sigma/web/vite.config.ts
Tosone d2470bb310 build(deps): bump Go and web dependencies
Update direct and indirect Go module versions, including aws-sdk-go-v2,
goose, ClickHouse, Azure SDK and golang.org/x/exp, and refresh the web
toolchain (react 19.3, vite 8.3, typescript 7, shadcn, tailwind).

Switch the web Vite `@` alias from `__dirname` to `import.meta.dirname`
to align with the ESM config runtime.

Verification: not run (dependency-only change).
2026-09-12 17:16:41 +08:00

18 lines
347 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import path from 'path';
export default defineConfig({
resolve: {
alias: {
'@': path.resolve(import.meta.dirname, './src'),
},
},
plugins: [react()],
build: {
chunkSizeWarningLimit: 8192,
minify: "esbuild",
target: "esnext",
}
});