refactor(config): add absolute paths instead of relative ones

This commit is contained in:
Walid 2022-03-24 01:44:11 +01:00
parent 11c61c7250
commit c4d92fbcca
No known key found for this signature in database
GPG Key ID: 4BDA1ABD227F9279

View File

@ -17,7 +17,11 @@
"resolveJsonModule": true,
"moduleResolution": "node",
"lib": ["dom", "dom.iterable", "esnext"],
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
"paths": {
"@/components/*": ["components/*"],
"@/utils/*": ["utils/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["dist", ".next", "out", "next.config.js"]