We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
as of now @nestjs/cli injects source-map-support. But as they say in their README:
@nestjs/cli
source-map-support
we can use nodejs's --enable-source-maps flag instead since nodejs v12
--enable-source-maps
I don't know why this package was added since v12 is too old, to be honest 🤔
update the following lines to replace -r "source-map-support/register" with --enable-source-maps
-r "source-map-support/register"
nest-cli/actions/start.action.ts
Lines 178 to 181 in d87405a
I tested this is a simple nestjs app and it seems to be working:
sourceMap:true
sourceMap:false
No response
The text was updated successfully, but these errors were encountered:
Would you like to create a PR for this issue?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Is there an existing issue that is already proposing this?
Is your feature request related to a problem? Please describe it
as of now
@nestjs/cli
injectssource-map-support
. But as they say in their README:we can use nodejs's
--enable-source-maps
flag instead since nodejs v12I don't know why this package was added since v12 is too old, to be honest 🤔
Describe the solution you'd like
update the following lines to replace
-r "source-map-support/register"
with--enable-source-maps
nest-cli/actions/start.action.ts
Lines 178 to 181 in d87405a
I tested this is a simple nestjs app and it seems to be working:
code
when
sourceMap:true
in our tsconfigwhen
sourceMap:false
in our tsconfigTeachability, documentation, adoption, migration strategy
No response
What is the motivation / use case for changing the behavior?
source-map-support
looks abandoned. Their github repository has many PRs and issues open@nestjs/cli
cannot work around@nestjs/cli
The text was updated successfully, but these errors were encountered: