opengist/vite.config.js
2023-04-03 23:37:54 +02:00

15 lines
No EOL
325 B
JavaScript

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']
}
}
})