1
0
mirror of https://github.com/thomiceli/opengist synced 2024-11-12 07:05:50 +01:00
opengist/vite.config.js
2023-03-14 16:22:52 +01:00

16 lines
370 B
JavaScript

import { defineConfig } from 'vite'
export default defineConfig({
root: './public',
build: {
// generate manifest.json in outDir
outDir: '',
assetsDir: 'assets',
manifest: true,
rollupOptions: {
// overwrite default .html entry
input: ['./public/main.js', './public/editor.js']
}
}
})