loopbackio / loopbackio/loopback-next
Use `--enable-source-maps` instead of `source-map-support`
@itamar244 is already working on this.
Since Oct 10, 2020.
- Dominant language
- TypeScript
- Stars
- 5.1k
- Forks
- 1.1k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 27
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.