tsconfig.json 504 B

1234567891011121314151617181920
  1. {
  2. "compilerOptions": {
  3. "baseUrl": "./",
  4. "rootDir": "./src",
  5. "outDir": "./dist",
  6. "paths": {
  7. "@/*": ["src/*"]
  8. },
  9. "module": "commonjs",
  10. "removeComments": true,
  11. "emitDecoratorMetadata": true,
  12. "experimentalDecorators": true,
  13. "allowSyntheticDefaultImports": true,
  14. "target": "esnext",
  15. "sourceMap": false, //生成suorceMap
  16. "declaration": false, //生成声明文件
  17. "incremental": true, //增量编译,生成tsbuildinfo,加快第二次编译速度
  18. "esModuleInterop": true
  19. }
  20. }