{ "compilerOptions": { /* Basic Options */ "target": "ES2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ "lib": [ /* Specify library files to be included in the compilation. */ "DOM", "ES2019" ], "allowJs": true, /* Allow javascript files to be compiled. */ "jsx": "react", // "checkJs": true, /* Report errors in .js files. */ // "declaration": true, /* Generates corresponding '.d.ts' file. */ // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ "sourceMap": true, /* Generates corresponding '.map' file. */ "outDir": "dist", /* Redirect output structure to the directory. */ "strict": true, // "baseUrl": ".", /* Base directory to resolve non-absolute module names. */ // "paths": { /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ // "*": ["node_modules/*"] // }, "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ }, "include": [ "./src" ], "exclude": [ "node_modules" ] }