X-Git-Url: https://git.xangelo.ca/?p=sketchy-heroes.git;a=blobdiff_plain;f=tsconfig.json;fp=tsconfig.json;h=228860c20b945654efbdd2edf564fbba0ca2c2ba;hp=31db929822024f470d61635bfb12de1aa86cad33;hb=20dc560a75cfd6ddc8a66956315a30001779ec24;hpb=3f07ea36d374034defe2476b0d9a3766e03f6630 diff --git a/tsconfig.json b/tsconfig.json index 31db929..228860c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -27,8 +27,9 @@ "module": "commonjs", /* Specify what module code is generated. */ // "rootDir": "./", /* Specify the root folder within your source files. */ // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ - "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ + "baseUrl": ".", /* Specify the base directory to resolve non-relative module names. */ "paths": { + "@lib/*": ["src/lib/*"] }, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ // "typeRoots": [], /* Specify multiple folders that act like `./node_modules/@types`. */ @@ -98,5 +99,8 @@ /* Completeness */ // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ "skipLibCheck": true /* Skip type checking all .d.ts files. */ + }, + "ts-node": { + "require": ["tsconfig-paths/register"] } }