Skip to content

Commit 282ab0c

Browse files
authored
Merge pull request #339 from rtsao/wasm-init-arraybuffer
Add option to initialize mappings wasm via ArrayBuffer
2 parents 4cd8239 + 6e618f5 commit 282ab0c

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ calling `initialize` before constructing any `SourceMapConsumer`s.
208208
The options object has the following properties:
209209

210210
* `"lib/mappings.wasm"`: A `String` containing the URL of the
211-
`lib/mappings.wasm` file.
211+
`lib/mappings.wasm` file, or an `ArrayBuffer` with the contents of `lib/mappings.wasm`.
212212

213213
```js
214214
sourceMap.SourceMapConsumer.initialize({

0 commit comments

Comments
 (0)