Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Firstly thanks very much for this excellent library. # Problem I am running a Nodejs app and am hitting the following error when using this library: ``` You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer ``` # Diagnosis * A dependency of yours "source-map" detects the runtime (Nodejs vs browser) in a broken way. That library then throws an exception if some client-side-specific code is not run. -*The "check" checks for the presence of a variable "fetch" and the reasonable thinking is that only browsers will have fetch. The issue is that in my case and in some others (see [here](mozilla/source-map#349)) 3rd party libraries can define a variable "fetch" which # Tests None
- Loading branch information