Add an import alias for shorter filepath imports

This commit is contained in:
Oliver Akins 2022-03-07 22:21:30 -06:00
parent 1f86b68e4c
commit e434aea6ac
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99
3 changed files with 10 additions and 2 deletions

View file

@ -46,7 +46,9 @@
/* Module Resolution Options */
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
"paths": {
"@/*": ["./src/*"]
}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */