fix: @ als ./src sollte nun gehen

This commit is contained in:
danielvici123
2024-10-31 16:47:37 +01:00
parent 4d29fc7fd2
commit dc3f417f52
2 changed files with 7 additions and 11 deletions

View File

@@ -1,8 +1,14 @@
import { defineConfig } from 'vite'
import deno from '@deno/vite-plugin'
import vue from '@vitejs/plugin-vue'
import {fileURLToPath, URL} from "node:url";
// https://vite.dev/config/
export default defineConfig({
plugins: [deno(), vue()],
})
resolve: {
alias: {
'@': fileURLToPath(new URL('../src', import.meta.url))
}
}
})