【发布时间】:2018-12-03 22:10:47
【问题描述】:
如何将 TS 路径映射与 Firebase Cloud Functions 一起使用? 我试过没有成功:
"baseUrl": ".",
"paths": {
"@custom-path/*": ["src/utils/*"],
"@other-path/*": ["../other/path/*"]
}
【问题讨论】:
-
您是否尝试按照这些说明进行操作firebase.google.com/docs/functions/typescript ?
-
你好,贡萨洛。感谢您的回复。我知道如何使用打字稿,我不知道如何设置路径映射。 stackoverflow.com/questions/50785855/…这是完整的描述
-
我也很好奇如何做到这一点
-
@william 你找到解决方案了吗?
-
目前还没有解决方案,我会在一周左右的时间内回复它再试一次,但我没有运气
标签: firebase google-cloud-functions