Skip to content

Commit cdea1f6

Browse files
committed
remove aliases
1 parent c7ab2d3 commit cdea1f6

File tree

4 files changed

+0
-34
lines changed

4 files changed

+0
-34
lines changed

tsconfig.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
1717
"noUnusedParameters": true,
1818
"noFallthroughCasesInSwitch": true,
1919
"types": ["node", "cypress"],
20-
"paths": {
21-
"@/*": ["./src/*"],
22-
"@components/*": ["./src/components/*"],
23-
"@context/*": ["./src/contexts/*"],
24-
"@lib/*": ["./src/lib/*"],
25-
"@utils/*": ["./src/utils/*"],
26-
"@views/*": ["./src/views/*"],
27-
}
2820
},
2921
"include": ["src", "cypress.d.ts"],
3022

tsconfig.node.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@
55
"module": "ESNext",
66
"moduleResolution": "bundler",
77
"allowSyntheticDefaultImports": true,
8-
"paths": {
9-
"@/*": ["src/*"],
10-
"@components/*": ["src/components/*"],
11-
"@context/*": ["src/contexts/*"],
12-
"@lib/*": ["src/lib/*"],
13-
"@utils/*": ["src/utils/*"],
14-
"@views/*": ["src/views/*"],
15-
}
168
},
179
"include": [
1810
"vite.config.ts",

tsconfig.spec.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
{
22
"compilerOptions": {
33
"baseUrl": ".",
4-
"paths": {
5-
"@/*": ["src/*"],
6-
"@components/*": ["src/components/*"],
7-
"@context/*": ["src/contexts/*"],
8-
"@lib/*": ["src/lib/*"],
9-
"@utils/*": ["src/utils/*"],
10-
"@views/*": ["src/views/*"],
11-
},
124
"target": "es5",
135
"lib": [
146
"es5",

vite.config.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,5 @@ import * as path from 'node:path';
44

55
// https://vitejs.dev/config/
66
export default defineConfig({
7-
resolve: {
8-
alias: {
9-
'@': path.resolve(__dirname, './src'),
10-
'@components': path.resolve(__dirname, './src/components'),
11-
'@context': path.resolve(__dirname, './src/context'),
12-
'@lib': path.resolve(__dirname, './src/lib'),
13-
'@utils': path.resolve(__dirname, './src/utils'),
14-
'@views': path.resolve(__dirname, './src/views'),
15-
},
16-
},
177
plugins: [react()],
188
});

0 commit comments

Comments
 (0)