tsconfig.json 834 B

12345678910111213141516171819202122232425262728
  1. {
  2. "extends": "../tsconfig.base.json",
  3. "compilerOptions": {
  4. // outFile is not compatible with all module loaders, including CommonJS
  5. "module": "commonjs",
  6. // module: commonjs -> moduleResolution: node, just make it explicit
  7. "moduleResolution": "node",
  8. // Debug helper
  9. // "traceResolution": true,
  10. // BaseUrl defines the default search base for non-relative imports
  11. "baseUrl": "./modules",
  12. // Paths works with baseUrl to configure how particular modules map to files.
  13. "paths": {
  14. // Module: [paths, relative to baseUrl].
  15. "my_lib": ["./customPath"]
  16. },
  17. // RootDirs is useful when sources to combine are in multiple directory hierarchies.
  18. "rootDirs": [
  19. "modules",
  20. "src",
  21. "ts/modules"
  22. ],
  23. "removeComments": true
  24. },
  25. "files": [
  26. "app.ts"
  27. ]
  28. }