您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

tsconfig.json 1002B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "compilerOptions": {
  3. "composite": false,
  4. "incremental": false,
  5. "resolveJsonModule": true,
  6. "target": "es6",
  7. "lib": ["dom", "esnext"],
  8. "allowJs": true,
  9. "skipLibCheck": true,
  10. "strict": false,
  11. "forceConsistentCasingInFileNames": true,
  12. "noEmit": true,
  13. "emitDeclarationOnly": false,
  14. "esModuleInterop": true,
  15. "module": "esnext",
  16. "moduleResolution": "node",
  17. "isolatedModules": true,
  18. "jsx": "preserve",
  19. "rootDir": ".",
  20. "baseUrl": ".",
  21. "paths": {
  22. "*": ["./*"],
  23. "@tldraw/tldraw": ["./packages/tldraw"],
  24. "@tldraw/core": ["./packages/core"],
  25. "@tldraw/intersect": ["./packages/intersect"],
  26. "@tldraw/vec": ["./packages/vec"]
  27. }
  28. },
  29. "references": [
  30. { "path": "../../packages/vec" },
  31. { "path": "../../packages/intersect" },
  32. { "path": "../../packages/core" },
  33. { "path": "../../packages/tldraw" }
  34. ],
  35. "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
  36. "exclude": ["node_modules"]
  37. }