1
0
Fork 0
mirror of https://github.com/thomiceli/opengist.git synced 2025-01-24 07:00:32 +00:00
opengist/public/vite.config.js

23 lines
513 B
JavaScript
Raw Normal View History

2023-03-14 16:22:52 +01:00
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'
]
2023-09-19 15:48:19 +02:00
},
assetsInlineLimit: 0,
2023-03-14 16:22:52 +01:00
}
})