mirror of
https://github.com/jgthms/bulma.git
synced 2024-12-12 13:28:30 +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",
|
|
},
|
|
},
|
|
});
|