tsconfig.json 645 B

12345678910111213141516171819202122232425
  1. {
  2. "compilerOptions": {
  3. "target": "ES2019",
  4. "module": "ESNext",
  5. "moduleResolution": "Bundler",
  6. "jsx": "react-jsx",
  7. "lib": ["DOM", "ES2020"],
  8. "strict": true,
  9. "composite": true,
  10. "declaration": true,
  11. "outDir": "dist",
  12. "rootDir": "src",
  13. "skipLibCheck": true,
  14. "verbatimModuleSyntax": true,
  15. "paths": {
  16. "@file-viewer/react": ["../../components/react/src/index.tsx"],
  17. "@file-viewer/web": ["../../components/web/src/index.ts"]
  18. }
  19. },
  20. "include": ["src/**/*.ts", "src/**/*.tsx"],
  21. "references": [
  22. { "path": "../../components/web" },
  23. { "path": "../../components/react" }
  24. ]
  25. }