evanw / evanw/node-source-map-support
Unable to create multiple instances
Aperta
- Lingua principale
- JavaScript
- Stelle
- 2.2k
- Fork
- 223
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.