1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00
RPGnotes/vite.config.js

24 lines
619 B
JavaScript
Raw Permalink Normal View History

2022-07-30 16:24:28 +02:00
import {defineConfig} from "vite";
export default defineConfig({
plugins: [
// splitVendorChunkPlugin(),
2022-07-30 16:28:29 +02:00
// visualizer(),
2022-07-30 16:24:28 +02:00
],
build: {
2022-07-30 16:29:15 +02:00
outDir: "static/build",
2022-07-30 16:24:28 +02:00
assetsDir: ".",
// generate manifest.json in outDir
manifest: true,
rollupOptions: {
// overwrite default .html entry
input: {
2022-07-31 00:46:21 +02:00
"main": 'static/main.ts',
// "colortheme": 'static/js/colortheme.ts',
2022-07-30 16:39:29 +02:00
// "tenantbase": 'static/tenantbase.js',
// "editor": 'static/editor.js'
2022-07-30 16:24:28 +02:00
},
}
}
})