initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import svgr from "vite-plugin-svgr";
|
||||
import { resolve } from "path";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), svgr()],
|
||||
build: {
|
||||
chunkSizeWarningLimit: 1600,
|
||||
commonjsOptions: {
|
||||
defaultIsModuleExports(id) {
|
||||
if (/react-google-autocomplete/.test(id)) return false;
|
||||
return "auto";
|
||||
}
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": resolve(__dirname, "./src")
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user