mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
24 lines
484 B
JavaScript
24 lines
484 B
JavaScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
build: {
|
|
emptyOutDir: true,
|
|
outDir: "../../assets/javascript/bulma-customizer",
|
|
rollupOptions: {
|
|
output: {
|
|
assetFileNames: "[name].css",
|
|
entryFileNames: "[name].js",
|
|
},
|
|
},
|
|
},
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
root: "/src",
|
|
components: "/src/components",
|
|
},
|
|
},
|
|
});
|