2024-01-05 23:28:25 +07:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
import path from "path";
|
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
|
|
|
plugins: [react()],
|
|
|
|
resolve: {
|
|
|
|
alias: {
|
|
|
|
"@": path.resolve("src/"),
|
|
|
|
},
|
|
|
|
},
|
2024-01-06 03:35:50 +07:00
|
|
|
build: {
|
|
|
|
chunkSizeWarningLimit: 1024,
|
|
|
|
},
|
2024-01-05 23:28:25 +07:00
|
|
|
});
|