Skip to content

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

Closed
@coreyfarrell

Description

@coreyfarrell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions