mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 14:42:30 +00:00
30 lines
534 B
TypeScript
30 lines
534 B
TypeScript
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig({
|
|
optimizeDeps: {
|
|
// include: ["lit"]
|
|
},
|
|
build: {
|
|
copyPublicDir: false,
|
|
lib: {
|
|
entry: 'lib/index.ts',
|
|
formats: ['es'],
|
|
},
|
|
|
|
rollupOptions: {
|
|
input: [
|
|
"lib/create-calendar-form.ts",
|
|
"lib/create-addressbook-form.ts",
|
|
],
|
|
output: {
|
|
dir: "../public/assets/js/",
|
|
format: "es",
|
|
manualChunks: {
|
|
lit: ["lit"],
|
|
webdav: ["webdav"],
|
|
}
|
|
}
|
|
},
|
|
},
|
|
})
|