mirror of
https://github.com/go-sigma/sigma.git
synced 2026-10-28 17:34:34 +08:00
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).
18 lines
347 B
TypeScript
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",
|
|
}
|
|
});
|