New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use --enable-source-maps instead of source-map-support
#6393
Comments
--enable-source-maps instead of source-map-support on Node.js 12+--enable-source-maps instead of source-map-support
|
can I start work on this? |
|
should I remove it entirely from the |
Absolutely!
IIUC, the change would be limited to |
|
@itamar244, i just assigned it to you. Thanks. |
|
My idea is to modify Here is the place where we are configuring We must carefully consider impact on existing consumers of |
|
I added the I will submit a working PR tommorow |


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/buildto use this new feature on recent version of Node.js, instead ofsource-map-supportmodule.If it's possible, then implement a fallback to npm module
source-map-supportwhen 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.
The text was updated successfully, but these errors were encountered: