mirror of
https://github.com/thomiceli/opengist.git
synced 2024-12-22 20:42:40 +00:00
16 lines
398 B
JavaScript
Vendored
16 lines
398 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/hljs.ts']
|
|
},
|
|
assetsInlineLimit: 0,
|
|
}
|
|
})
|