Remove unwanted plugin for vite

This commit is contained in:
Prayag Prajapati committed 2023-02-21 22:36:29 +05:30
1 parent 355bbcdbe3
commit e2ae87ef9c
3 files changed
+31 -314

No files matched your search

+1 -14
View File
@@ -3,24 +3,11 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import svgr from "vite-plugin-svgr";
import { viteStaticCopy } from "vite-plugin-static-copy";
import path from "path";
// https://vitejs.dev/config/
export default defineConfig({
base: "./",
plugins: [
react(),
svgr(),
viteStaticCopy({
targets: [
{
src: path.resolve(__dirname, "./static") + "/[!.]*", // 1️⃣
dest: "./", // 2️⃣
},
],
}),
],
plugins: [react(), svgr()],
css: {
modules: {
scopeBehaviour: "global",