mirror of
https://github.com/lennart-k/rustical.git
synced 2026-01-30 21:18:19 +00:00
frontend: Merge components into single bundle
This commit is contained in:
@@ -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"],
|
||||
// }
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user