mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-30 01:35:32 +00:00
some small things
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
import { resolve } from "path";
|
||||
import { defineConfig } from "vite";
|
||||
import libAssetsPlugin from "@laynezh/vite-plugin-lib-assets";
|
||||
|
||||
export default defineConfig({
|
||||
mode: "production",
|
||||
plugins: [
|
||||
libAssetsPlugin({
|
||||
limit: 1024 * 1024,
|
||||
}),
|
||||
],
|
||||
build: {
|
||||
assetsInlineLimit: 0,
|
||||
root: resolve(__dirname, ""),
|
||||
lib: {
|
||||
entry: "./transform/main.js",
|
||||
|
||||
Reference in New Issue
Block a user