init project
This commit is contained in:
13
vite.config.js
Normal file
13
vite.config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import { defineConfig, splitVendorChunkPlugin } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [ vue(), splitVendorChunkPlugin() ],
|
||||
resolve: {
|
||||
vue: 'vue/dist/vue.esm-bundler.js',
|
||||
},
|
||||
build: {
|
||||
chunkSizeWarningLimit: 2048,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user