From 005669dd9281b0a454694c51512335293ec239d4 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Sun, 18 Jul 2021 01:19:04 -0600 Subject: [PATCH] Add path resolution to the module --- tsconfig.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index f48eda2..a243f4a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -41,7 +41,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. */