本课使用两层配置:
config.default.ts
config.local.ts
koa.port = null
通过 importConfigs 显式声明 default + local,保持本地开发和部署配置解耦。
importConfigs
default + local