Skip to content

Commit

Permalink
Update vite.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mubaidr authored Sep 19, 2023
1 parent 16255f4 commit 90a3bf1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import AutoImport from 'unplugin-auto-import/vite'
import IconsResolver from 'unplugin-icons/resolver'
import Icons from 'unplugin-icons/vite'
import Components from 'unplugin-vue-components/vite'
import { URL, fileURLToPath } from 'url'
import { defineConfig } from 'vite'
import Pages from 'vite-plugin-pages'
import manifest from './manifest.config'
Expand All @@ -13,8 +14,9 @@ import manifest from './manifest.config'
export default defineConfig({
resolve: {
alias: {
'~': resolve(join(__dirname, 'src')),
src: resolve(join(__dirname, 'src')),
'@': fileURLToPath(new URL('./src', import.meta.url)),
'~': fileURLToPath(new URL('./src', import.meta.url)),
src: fileURLToPath(new URL('./src', import.meta.url)),
},
},
plugins: [
Expand Down

0 comments on commit 90a3bf1

Please sign in to comment.