mirror of
https://github.com/thomiceli/opengist
synced 2024-11-12 07:05:50 +01:00
23 lines
513 B
JavaScript
Vendored
23 lines
513 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'
|
|
]
|
|
},
|
|
assetsInlineLimit: 0,
|
|
}
|
|
})
|