loopbackio / loopbackio/loopback-next

Use `--enable-source-maps` instead of `source-map-support`

未关闭
#6,393 6 条评论 1 个 reaction 已指派 1 人 在 GitHub 查看

@itamar244 已经在做这个了。

开始于 2020年10月10日。

breaking-change feature good first issue Internal Tooling
主要语言
TypeScript
星标
5.1k
派生
1.1k
平均合并
2 天 21 小时
30 天内合并 PR
27

描述

Starting from version 12.12.0, Node.js offers built-in support for translating error stack traces using source maps - learn more here: https://medium.com/@nodejs/source-maps-in-node-js-482872b56116

Let's rework `@loopback/build` to use this new feature on recent version of Node.js, instead of `source-map-support` module.

If it's possible, then implement a fallback to npm module `source-map-support` when running on Node.js 10.x.

If that's not possible, then this change must wait until we can drop support for Node.js 10.x, which will happen after 10.x reaches EOL on 2021-04-30 per https://github.com/nodejs/Release.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。