mirror of
https://github.com/XFox111/easylogon-web.git
synced 2026-07-02 19:52:45 +03:00
major: initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import svgr from "vite-plugin-svgr";
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins:
|
||||
[
|
||||
svgr(),
|
||||
react(),
|
||||
svgr({
|
||||
svgrOptions: { exportType: "default", ref: true, svgo: false, titleProp: true },
|
||||
include: "**/*.svg",
|
||||
}),
|
||||
],
|
||||
build: {
|
||||
chunkSizeWarningLimit: 700,
|
||||
rollupOptions: {
|
||||
output: {
|
||||
entryFileNames: "assets/[name].js",
|
||||
assetFileNames: "assets/[name].css",
|
||||
chunkFileNames: "assets/[name].js",
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user