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({
plugins: [vue()],
resolve: {
alias: [
{
find: '@',
replacement: resolve(__dirname, 'src'),
},
],
alias: {
'@': resolve(__dirname, 'src'),
},
},
build: {
chunkSizeWarningLimit: 700, // Default is 500