|
25 | 25 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ |
26 | 26 |
|
27 | 27 | /* Modules */ |
28 | | - "module": "commonjs", /* Specify what module code is generated. */ |
| 28 | + "module": "Node16", /* Specify what module code is generated. */ |
29 | 29 | // "rootDir": "./", /* Specify the root folder within your source files. */ |
30 | | - // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ |
| 30 | + "moduleResolution": "Node16", /* Specify how TypeScript looks up a file from a given module specifier. */ |
31 | 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. */ |
| 32 | + // "paths": { |
| 33 | + // "../lib/svgdom-wrapper.mjs": ["lib/svgdom-wrapper.d.ts"], |
| 34 | + // "../lib/nanoid-wrapper.mjs": ["lib/nanoid-wrapper.d.ts"], |
| 35 | + // }, |
| 36 | + // "svgdom-wrapper": ["lib/svgdom-wrapper.mjs"], |
| 37 | + // "nanoid-wrapper": ["lib/nanoid-wrapper.mjs"], |
| 38 | + // }, /* Specify a set of entries that re-map imports to additional lookup locations. */ |
36 | 39 | // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ |
37 | | - // "typeRoots": ["./types/*"], /* Specify multiple folders that act like './node_modules/@types'. */ |
| 40 | + // "typeRoots": ["./types"], /* Specify multiple folders that act like './node_modules/@types'. */ |
38 | 41 | // "types": [], /* Specify type package names to be included without being referenced in a source file. */ |
39 | 42 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ |
40 | 43 | // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ |
|
103 | 106 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ |
104 | 107 | "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
105 | 108 | }, |
106 | | - "include": ["src", "lib", "utils", "types"], |
| 109 | + "include": ["src", "lib", "utils"], |
107 | 110 | } |
0 commit comments