mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 17:15:31 +00:00
added build script + proper differentiation of dev & prod builds
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
import { resolve } from "path";
|
||||
import { defineConfig } from "vite";
|
||||
export default defineConfig({
|
||||
mode: "production",
|
||||
build: {
|
||||
root: resolve(__dirname, ""),
|
||||
// These are dev options only:
|
||||
minify: false,
|
||||
emitAssets: true,
|
||||
|
||||
lib: {
|
||||
entry: "./transform/main.js",
|
||||
name: "PC-UI",
|
||||
|
||||
Reference in New Issue
Block a user