opengist/vite.config.js

16 lines
347 B
JavaScript
Raw Normal View History

2023-03-14 15:22:52 +00: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']
2023-03-14 15:22:52 +00:00
}
}
})