Skip to content

Commit 7644a75

Browse files
Added root alias
1 parent ccf0b2f commit 7644a75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export default defineConfig({
3030
resolve: {
3131
alias: {
3232
'@': fileURLToPath(new URL('./src', import.meta.url)),
33+
'@root': fileURLToPath(new URL('.', import.meta.url)),
3334
},
3435
extensions: [
3536
'.js',

0 commit comments

Comments
 (0)