improve vite.config compat

This commit is contained in:
Matthias 2022-10-30 11:09:42 +01:00
parent 394fc5e07d
commit 1417be6fcb

View File

@ -6,12 +6,9 @@ import { resolve } from 'path';
export default defineConfig({ export default defineConfig({
plugins: [vue()], plugins: [vue()],
resolve: { resolve: {
alias: [ alias: {
{ '@': resolve(__dirname, 'src'),
find: '@', },
replacement: resolve(__dirname, 'src'),
},
],
}, },
build: { build: {
chunkSizeWarningLimit: 700, // Default is 500 chunkSizeWarningLimit: 700, // Default is 500