tsconfig.json 453 B

12345678910111213
  1. {
  2. "extends": "../../tsconfig.base.json",
  3. "compilerOptions": {
  4. "outDir": "dist",
  5. "rootDir": "src",
  6. "types": ["node"],
  7. // Bugfix: runtime feature helper 有意以 JS 形式存放,使 Node prepare 脚本与 TypeScript 包
  8. // 在 shared 构建前即可导入同一份运行时契约。
  9. // 允许 shared 编译复制该 JS,避免 dist/index.js 导出一个不存在的文件。
  10. "allowJs": true
  11. },
  12. "include": ["src"]
  13. }