@@ -0,0 +1,17 @@
|
||||
import { fileURLToPath, URL } from "node:url";
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
css: {
|
||||
postcss: fileURLToPath(new URL("./postcss.config.cjs", import.meta.url)),
|
||||
},
|
||||
build: {
|
||||
outDir: "dist-demo",
|
||||
emptyOutDir: true,
|
||||
rollupOptions: {
|
||||
input: fileURLToPath(new URL("./demo.html", import.meta.url)),
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user