Skip to content

Commit e139fad

Browse files
committed
Update @Utility and @hooks path aliases
Changed the @Utility and @hooks path aliases in tsconfig.json and vite.config.js to point directly to 'Utility' and 'Hooks' directories instead of nested under 'Components'. This ensures correct module resolution and reflects the actual project structure.
1 parent 67ff345 commit e139fad

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
"paths": {
4848
"@components/*": ["Components/*"],
4949
"@media/*": ["Media/*"],
50-
"@utility/*": ["Components/Utility/*"],
51-
"@hooks/*": ["./Hooks/*"]
50+
"@utility/*": ["Utility/*"],
51+
"@hooks/*": ["Hooks/*"]
5252
},
5353
}
5454
}

vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default defineConfig(({ mode }) => ({
1111
'@': path.resolve(__dirname, 'src'),
1212
'@components': path.resolve(__dirname, 'src/Components'),
1313
'@media': path.resolve(__dirname, 'src/Media'),
14-
'@utility': path.resolve(__dirname, 'src/Components/Utility'),
14+
'@utility': path.resolve(__dirname, 'src/Utility'),
1515
'@hooks': path.resolve(__dirname, 'src/Hooks'),
1616
},
1717
},

0 commit comments

Comments
 (0)