diff --git a/media/vite.config.ts b/media/vite.config.ts index c6758d8..96a53fa 100644 --- a/media/vite.config.ts +++ b/media/vite.config.ts @@ -1,17 +1,11 @@ -import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; -import * as path from "path"; +import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], root: "", - resolve: { - alias: { - react: path.join(__dirname, "../../../node_modules/react"), - "react-dom": path.join(__dirname, "../../../node_modules/react-dom"), - }, - }, + resolve: {}, build: { // minify: false, rollupOptions: {