|
11 | 11 | // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ |
12 | 12 |
|
13 | 13 | /* Language and Environment */ |
14 | | - "target": "ES2020" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, |
| 14 | + "target": "ES2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, |
15 | 15 | // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ |
16 | 16 | // "jsx": "preserve", /* Specify what JSX code is generated. */ |
17 | 17 | "experimentalDecorators": true /* Enable experimental support for legacy experimental decorators. */, |
|
25 | 25 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ |
26 | 26 |
|
27 | 27 | /* Modules */ |
28 | | - "module": "ESNext" /* Specify what module code is generated. */, |
| 28 | + "module": "CommonJS" /* 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": "node" /* 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 | 32 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ |
33 | 33 | // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ |
|
52 | 52 | "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */, |
53 | 53 | // "declarationMap": true, /* Create sourcemaps for d.ts files. */ |
54 | 54 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ |
55 | | - "sourceMap": true /* Create source map files for emitted JavaScript files. */, |
| 55 | + // "sourceMap": true /* Create source map files for emitted JavaScript files. */, |
56 | 56 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ |
57 | 57 | // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ |
58 | 58 | "outDir": "./dist" /* Specify an output folder for all emitted files. */, |
|
106 | 106 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ |
107 | 107 | "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
108 | 108 | }, |
109 | | - "include": ["./src/**/*.ts"], |
110 | | - "exclude": ["node_modules"] |
| 109 | + "include": ["./src"], |
| 110 | + "exclude": ["node_modules", "dist"] |
111 | 111 | } |
0 commit comments