mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 17:25:32 +00:00
Introduced templating and views
This commit is contained in:
16
views/vite.config.js
Normal file
16
views/vite.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import { resolve } from "path";
|
||||
import { defineConfig } from "vite";
|
||||
export default defineConfig({
|
||||
mode: "production",
|
||||
build: {
|
||||
root: resolve(__dirname, ""),
|
||||
lib: {
|
||||
entry: "./transform/main.js",
|
||||
name: "PC-UI",
|
||||
fileName: "scripts",
|
||||
cssFileName: "style",
|
||||
formats: ["es"],
|
||||
},
|
||||
outDir: resolve(__dirname, "assets/"),
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user