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