25 lines
471 B
TypeScript
25 lines
471 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
],
|
|
base: '/',
|
|
build: {
|
|
outDir: 'dist',
|
|
assetsDir: 'static',
|
|
sourcemap: false,
|
|
rollupOptions: {
|
|
output: {
|
|
manualChunks: undefined
|
|
},
|
|
},
|
|
},
|
|
css: {
|
|
modules: {
|
|
localsConvention: "camelCase",
|
|
},
|
|
},
|
|
});
|