Skip to content

Unable to create multiple instances #91

Open
cspotcode/node-source-map-support
#28

Description

@blakeembrey

It's possible that someone would need to install the module more than once to support different file retrievals. For example, using the babel CLI and it uses this module with in-memory source map look ups. However, someone that wants to add support for the rest of the application now can't. I propose removing the global overrides of retrieveFile, etc. and instead using an array of functions that resolve to the first supported.

Activity

  1. added a commit that references this issue on Aug 26, 2015
  2. dgreensp commented on Oct 30, 2015

    @dgreensp

    This seems really important for wider adoption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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