Skip to content

Commit 8f8326c

Browse files
committed
Tweak tsconfig. Will this ever end?
1 parent 55fa4bf commit 8f8326c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tsconfig.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@
2828
"module": "commonjs", /* Specify what module code is generated. */
2929
// "rootDir": "./", /* Specify the root folder within your source files. */
3030
// "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
31-
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
32-
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
31+
"baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
32+
"paths": {
33+
"svgdom-wrapper": ["lib/svgdom-wrapper.mjs"],
34+
"nanoid-wrapper": ["lib/nanoid-wrapper.mjs"],
35+
}, /* Specify a set of entries that re-map imports to additional lookup locations. */
3336
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
3437
// "typeRoots": ["./types/*"], /* Specify multiple folders that act like './node_modules/@types'. */
3538
// "types": [], /* Specify type package names to be included without being referenced in a source file. */

0 commit comments

Comments
 (0)