Skip to content
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

Feature Request: Provide a source-map-support/register-hook-require entry-point. #239

Closed
coreyfarrell opened this issue Apr 3, 2019 · 1 comment · Fixed by #257
Closed

Comments

@coreyfarrell
Copy link

I'm looking into an nyc bug report where the user cannot get source-map-support working. Unfortunately nyc --require source-map-support/register does not work due to inline source-maps. It would be very useful to us if your package included a register-hook-require.js (or similar file) containing:

require('./').install({hookRequire: true});

This would give us a simple method of documenting how to enable source-map-support when not using @babel/register.

CC @bcoe

@LinusU
Copy link
Collaborator

LinusU commented Nov 19, 2021

@coreyfarrell we have added this in #257, but it isn't currently documented. Would you be able to submit a PR that adds some documentation to the readme? ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants