smc/vite.config.ts
2022-09-28 10:24:25 -04:00

24 lines
356 B
TypeScript

import VuePlugin from '@vitejs/plugin-vue'
import { defineConfig } from 'vite'
export default defineConfig({
base: './',
build: {
rollupOptions: {
output: {
manualChunks: {
vue: ['vue', 'vue-router']
}
}
}
},
plugins: [
VuePlugin()
],
resolve: {
alias: {
'@/': `./src/`
}
}
})