From a99903079dad40d9996446e425566c2a750be3df Mon Sep 17 00:00:00 2001 From: Cora Grant Date: Tue, 16 Apr 2024 17:36:29 -0400 Subject: [PATCH] dev: fix `Constants` module resolution in tsc This particular "prefix" is a file, not a directory, and this matters for `tsc` (but not Webpack, which configures these in a different way). --- assets/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/tsconfig.json b/assets/tsconfig.json index a11dcf27f..dc54988cf 100644 --- a/assets/tsconfig.json +++ b/assets/tsconfig.json @@ -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. */