Skip to content

Commit

Permalink
dev: fix Constants module resolution in tsc
Browse files Browse the repository at this point in the history
This particular "prefix" is a file, not a directory, and this matters
for `tsc` (but not Webpack, which configures these in a different way).
  • Loading branch information
digitalcora committed Apr 16, 2024
1 parent b4bf424 commit a999030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"Components/*": ["components/*"],
"Hooks/*": ["hooks/*"],
"Util/*": ["util/*"],
"Constants/*": ["constants/*"]
"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 a999030

Please sign in to comment.