Skip to content

Commit

Permalink
[js] Fix .wasm for source maps loading
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Mar 4, 2019
1 parent 16e170f commit 374e9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/js/nqp-runtime/resolve-sourcemap-browser.js
Expand Up @@ -9,7 +9,7 @@ if ('/*async*/' === '/*asy' + 'nc*/' || typeof fetch == 'undefined') {
module.exports = null;
} else {
SourceMapConsumer.initialize({
'lib/mappings.wasm': require('./mappings-wasm-base64.js')
'lib/mappings.wasm': require('./mappings-wasm-base64.js').buffer
});

module.exports = async function(filename) {
Expand Down

0 comments on commit 374e9fd

Please sign in to comment.