n0mbers/vite.config.ts

15 lines
367 B
TypeScript
Raw Normal View History

2022-02-09 21:27:26 +01:00
import vue from '@vitejs/plugin-vue'
2022-02-09 22:10:58 +01:00
import Icons from 'unplugin-icons/vite'
2022-02-09 21:27:26 +01:00
import { fileURLToPath, URL } from 'url'
import { defineConfig } from 'vite'
2022-02-07 22:14:31 +01:00
// https://vitejs.dev/config/
export default defineConfig({
2022-02-09 22:10:58 +01:00
plugins: [vue(), Icons({ autoInstall: true })],
2022-02-07 22:14:31 +01:00
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
})