frontend: Merge components into single bundle

This commit is contained in:
Lennart
2025-12-12 13:00:44 +01:00
parent 4e90f725e0
commit d3e7ede93c
21 changed files with 1647 additions and 1790 deletions

View File

@@ -14,21 +14,14 @@ export default defineConfig({
rollupOptions: {
input: [
"lib/create-birthday-calendar-form.ts",
"lib/create-calendar-form.ts",
"lib/edit-calendar-form.ts",
"lib/import-calendar-form.ts",
"lib/create-addressbook-form.ts",
"lib/edit-addressbook-form.ts",
"lib/import-addressbook-form.ts",
"lib/delete-button.ts",
"lib/bundle.ts",
],
output: {
dir: "../public/assets/js/",
format: "es",
manualChunks: {
lit: ["lit"],
}
// manualChunks: {
// lit: ["lit"],
// }
}
},
},