mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-19 15:43:45 +02:00
22 lines
559 B
JavaScript
22 lines
559 B
JavaScript
import {defineConfig} from "vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
// splitVendorChunkPlugin(),
|
|
// visualizer(),
|
|
],
|
|
build: {
|
|
outDir: "static/build",
|
|
assetsDir: ".",
|
|
// generate manifest.json in outDir
|
|
manifest: true,
|
|
rollupOptions: {
|
|
// overwrite default .html entry
|
|
input: {
|
|
"main": 'static/main.ts',
|
|
// "tenantbase": 'static/tenantbase.js',
|
|
// "editor": 'static/editor.js'
|
|
},
|
|
}
|
|
}
|
|
})
|