【问题标题】:Can I use babel with firebase functions?我可以将 babel 与 firebase 功能一起使用吗?
【发布时间】:2017-08-04 03:33:06
【问题描述】:

是否可以将 es6 与 firebase 功能一起使用?

我需要将一些 es6 类从我的 react 本机应用程序导入到 firebase 函数中。

任何有关如何执行此操作的指示都会有所帮助:)

【问题讨论】:

    标签: firebase google-cloud-functions


    【解决方案1】:

    Cloud Functions 使用 Node.js 的 LTS 通道,因此开箱即用地支持大量 ES6 语法,您当然可以使用 babel 编译下来。

    【讨论】:

      猜你喜欢
      • 2021-08-23
      • 1970-01-01
      • 2020-07-07
      • 2018-04-20
      • 2021-12-04
      • 1970-01-01
      • 1970-01-01
      • 2015-07-24
      • 2019-08-23
      相关资源
      最近更新 更多