mirror of
https://github.com/thomiceli/opengist.git
synced 2025-07-08 09:01:20 +02:00
Small fixes (#196)
This commit is contained in:
22
public/vite.config.js
vendored
Normal file
22
public/vite.config.js
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
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,
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user