Initial commit
This commit is contained in:
16
vite.config.js
Normal file
16
vite.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
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']
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user