tsconfig.json 1.6 KB

1234567891011121314151617181920212223242526
  1. {
  2. "compilerOptions": {
  3. /* Basic Options */
  4. "target": "ES2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
  5. "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
  6. "lib": [ /* Specify library files to be included in the compilation. */
  7. "ES2019",
  8. "dom"
  9. ],
  10. "allowJs": true, /* Allow javascript files to be compiled. */
  11. // "checkJs": true, /* Report errors in .js files. */
  12. // "declaration": true, /* Generates corresponding '.d.ts' file. */
  13. // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
  14. "sourceMap": false, /* Generates corresponding '.map' file. */
  15. "outDir": "out", /* Redirect output structure to the directory. */
  16. "baseUrl": ".", /* Base directory to resolve non-absolute module names. */
  17. // "paths": { /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
  18. // "*": ["node_modules/*"]
  19. // },
  20. "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
  21. },
  22. "include": [
  23. "src/**/*"
  24. ],
  25. "exclude": [ "node_modules" ]
  26. }