示例工程 24-module-resolution
24-module-resolution/03-exports-conditions/README.md
点击「运行示例」后,左侧显示源码、右侧显示运行结果;console 输出会实时回传。
# 03 · exports-conditions
**演示**:`package.json` 的 `exports` 用 `types` 条件指向声明文件;未暴露的深层路径被封锁。
**运行**:无运行时输出;Console 为空。
**类型检查**:`node node_modules/typescript/bin/tsc -p examples/24-module-resolution/03-exports-conditions/tsconfig.types.json`
**注意**:示例用 `paths` 把 `pkg` 指到本地 fixture;真实项目里由 `node_modules` 解析。