Remove unwanted plugin for vite
This commit is contained in:
3 files changed
+31
-314
No files matched your search
+1
-14
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user