n0mbers/vite.config.ts

14 lines
297 B
TypeScript
Raw Normal View History

2022-02-09 21:27:26 +01:00
import vue from '@vitejs/plugin-vue'
import { fileURLToPath, URL } from 'url'
import { defineConfig } from 'vite'
2022-02-07 22:14:31 +01:00
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
2022-02-09 21:27:26 +01:00
'@': fileURLToPath(new URL('./src', import.meta.url)),
2022-02-07 22:14:31 +01:00
},
},
2022-02-09 21:27:26 +01:00
})