1 parent c6793d2 commit 4d2320dCopy full SHA for 4d2320d
1 file changed
example/vite.config.ts
@@ -1,4 +1,3 @@
1
-import { fileURLToPath, URL } from "node:url";
2
import { defineConfig } from "vite";
3
import react from "@vitejs/plugin-react";
4
@@ -7,10 +6,6 @@ export default defineConfig({
7
6
plugins: [react()],
8
base: "/react-fit-list/",
9
resolve: {
10
- alias: {
11
- "react-fit-list": fileURLToPath(
12
- new URL("../src/index.ts", import.meta.url)
13
- ),
14
- },
+ dedupe: ["react", "react-dom"],
15
},
16
});
0 commit comments