opengist/public/vite.config.js
2024-10-07 23:56:32 +02:00

23 lines
553 B
JavaScript
Vendored

import { defineConfig } from 'vite'
export default defineConfig({
root: './public',
build: {
// generate manifest.json in outDir
outDir: '',
assetsDir: 'assets',
manifest: true,
rollupOptions: {
input: [
'./public/main.ts',
'./public/editor.ts',
'./public/admin.ts',
'./public/gist.ts',
'./public/embed.ts',
'./public/webauthn.ts'
]
},
assetsInlineLimit: 0,
}
})