tsconfig.json 901 B

123456789101112131415
  1. {
  2. "compilerOptions": {
  3. /* Basic Options */
  4. "target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
  5. "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
  6. "lib": ["DOM"] /* Specify library files to be included in the compilation. */,
  7. "allowJs": true /* Allow javascript files to be compiled. */,
  8. "checkJs": false /* Report errors in .js files. */,
  9. "sourceMap": true /* Generates corresponding '.map' file. */,
  10. "strict": false /* Enable all strict type-checking options. */,
  11. "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
  12. },
  13. "exclude": ["webpack.config.js", "dist", "test"]
  14. }