Skip to content

Commit

Permalink
fix: Tweak config so vscode can consistently resolve aliased import p…
Browse files Browse the repository at this point in the history
…aths (#1835)
  • Loading branch information
jzimbel-mbta authored Aug 24, 2023
1 parent 46a4ad3 commit c806bae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assets/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
"baseUrl": "./src", /* Base directory to resolve non-absolute module names. */
"paths": {
"Components": ["/components"],
"Hooks": ["/hooks"],
"Util": ["/util"],
"Constants": ["/constants"]
"Components/*": ["components/*"],
"Hooks/*": ["hooks/*"],
"Util/*": ["util/*"],
"Constants/*": ["constants/*"]
}, /* 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. */
Expand Down

0 comments on commit c806bae

Please sign in to comment.