mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 09:15:33 +00:00
28 lines
514 B
JavaScript
28 lines
514 B
JavaScript
import { resolve } from "path";
|
|
import { defineConfig } from "vite";
|
|
import tailwindcss from "tailwindcss";
|
|
|
|
export default defineConfig({
|
|
mode: "development",
|
|
css: {
|
|
postcss: {
|
|
plugins: [tailwindcss],
|
|
},
|
|
},
|
|
build: {
|
|
root: resolve(__dirname, ""),
|
|
// These are dev options only:
|
|
minify: false,
|
|
emitAssets: true,
|
|
|
|
lib: {
|
|
entry: "./transform/main.js",
|
|
name: "PC-UI",
|
|
fileName: "scripts",
|
|
cssFileName: "style",
|
|
formats: ["es"],
|
|
},
|
|
outDir: resolve(__dirname, "assets/"),
|
|
},
|
|
});
|