wishlist-app/vite.config.ts
Benny Samir Hierl bc1458d5a0 ...
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
2022-03-04 22:15:48 +01:00

26 lines
502 B
TypeScript

import { fileURLToPath, URL } from 'url'
import Components from 'unplugin-vue-components/vite'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
Components({
dts: true,
}),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
build: {
outDir: 'dist/static',
},
test: {
outputFile: 'reports/unittest.json',
},
})