|
4 | 4 |
|
5 | 5 | /* Basic Options */
|
6 | 6 | // "incremental": true, /* Enable incremental compilation */
|
7 |
| - "target": "ES5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ |
8 |
| - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ |
| 7 | + "target": "ES2020", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ |
| 8 | + "module": "ES2020", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ |
9 | 9 | // "lib": [], /* Specify library files to be included in the compilation. */
|
10 | 10 | // "allowJs": true, /* Allow javascript files to be compiled. */
|
11 | 11 | // "checkJs": true, /* Report errors in .js files. */
|
|
14 | 14 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
15 | 15 | "sourceMap": true, /* Generates corresponding '.map' file. */
|
16 | 16 | // "outFile": "./", /* Concatenate and emit output to single file. */
|
17 |
| - "outDir": "dist", /* Redirect output structure to the directory. */ |
| 17 | + "outDir": "dist/esm", /* Redirect output structure to the directory. */ |
18 | 18 | "rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
19 | 19 | // "composite": true, /* Enable project compilation */
|
20 | 20 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
|
|
52 | 52 | "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
53 | 53 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
|
54 | 54 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
55 |
| - "resolveJsonModule": true, |
| 55 | + // "resolveJsonModule": true, |
56 | 56 |
|
57 | 57 | /* Source Map Options */
|
58 | 58 | // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
|
|
69 | 69 | "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
|
70 | 70 | },
|
71 | 71 | "exclude": [
|
72 |
| - "**/*.test.*" |
| 72 | + "**/*.test*", |
| 73 | + "dist/**" |
73 | 74 | ]
|
74 | 75 | }
|
0 commit comments