mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-29 09:15:33 +00:00
Init
This commit is contained in:
27
views/vite.dev.config.js
Normal file
27
views/vite.dev.config.js
Normal file
@@ -0,0 +1,27 @@
|
||||
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/"),
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user