@@ -186,15 +186,15 @@ export function fibonacciJavascript(i) {
186186/** ****/ var installedWasmModuleData = installedWasmModules[wasmModuleId];
187187/** ****/
188188/** ****/ // a Promise means "currently loading" or "already loaded".
189- /** ****/ if (installedWasmModuleData) {
190- /** ****/ promises .push (installedWasmModuleData);
191- /** ****/ } else {
192- /** ****/ var promise = installedWasmModules[wasmModuleId] = fetch ( __webpack_require__ . p + " " + { " 1 " : " 80925f35a6f1cf550d38 " , " 3 " : " 3d28950d91bc7246f5af " , " 4 " : " 1d2268b99656e9575a63 " }[wasmModuleId] + " .wasm " )
193- /** ****/ . then ( function ( response ) { return response . arrayBuffer (); })
194- /** ****/ . then (function (bytes ) { return WebAssembly .compile (bytes); })
195- /** ****/ . then ( function ( module ) { __webpack_require__ . w [wasmModuleId] = module ; })
196- /** ****/ promises . push (promise);
197- /** ****/ }
189+ /** ****/ promises . push (installedWasmModuleData ||
190+ /** ****/ promises .push (installedWasmModules[wasmModuleId] = fetch ( __webpack_require__ . p + " " + { " 1 " : " 80925f35a6f1cf550d38 " , " 3 " : " 3d28950d91bc7246f5af " , " 4 " : " 1d2268b99656e9575a63 " }[wasmModuleId] + " .wasm " ). then ( function ( response ) {
191+ /** ****/ if ( WebAssembly . compileStreaming ) {
192+ /** ****/ return WebAssembly . compileStreaming (response);
193+ /** ****/ } else {
194+ /** ****/ return response . arrayBuffer (). then (function (bytes ) { return WebAssembly .compile (bytes); });
195+ /** ****/ }
196+ /** ****/ }). then ( function ( module ) { __webpack_require__ . w [wasmModuleId] = module ; }))
197+ /** ****/ );
198198/** ****/ });
199199/** ****/ return Promise .all (promises);
200200/** ****/ };
@@ -432,7 +432,7 @@ Version: webpack 3.8.1
4324323d28950d91bc7246f5af.wasm 62 bytes 0, 1 [emitted]
4334331d2268b99656e9575a63.wasm 67 bytes 0, 1 [emitted]
434434 1.output.js 486 bytes 1 [emitted]
435- output.js 8.9 kB 2 [emitted] main
435+ output.js 8.94 kB 2 [emitted] main
436436Entrypoint main = output.js
437437chunk {0} 0.output.js, 80925f35a6f1cf550d38.wasm, 3d28950d91bc7246f5af.wasm, 1d2268b99656e9575a63.wasm 585 bytes {2} [rendered]
438438 > [0] ./example.js 3:1-17
@@ -460,6 +460,7 @@ chunk {1} 1.output.js, 80925f35a6f1cf550d38.wasm 41 bytes {2} [rendered]
460460chunk {2} output.js (main) 788 bytes [entry] [rendered]
461461 > main [0] ./example.js
462462 [0] ./example.js 788 bytes {2} [built]
463+ single entry .\example.js main
463464```
464465
465466## Minimized (uglify-js, no zip)
@@ -473,7 +474,7 @@ Version: webpack 3.8.1
4734743d28950d91bc7246f5af.wasm 62 bytes 0, 1 [emitted]
4744751d2268b99656e9575a63.wasm 67 bytes 0, 1 [emitted]
475476 1.output.js 155 bytes 1 [emitted]
476- output.js 8.74 kB 2 [emitted] main
477+ output.js 8.78 kB 2 [emitted] main
477478Entrypoint main = output.js
478479chunk {0} 0.output.js, 80925f35a6f1cf550d38.wasm, 3d28950d91bc7246f5af.wasm, 1d2268b99656e9575a63.wasm 585 bytes {2} [rendered]
479480 > [0] ./example.js 3:1-17
@@ -501,6 +502,7 @@ chunk {1} 1.output.js, 80925f35a6f1cf550d38.wasm 41 bytes {2} [rendered]
501502chunk {2} output.js (main) 788 bytes [entry] [rendered]
502503 > main [0] ./example.js
503504 [0] ./example.js 788 bytes {2} [built]
505+ single entry .\example.js main
504506
505507ERROR in output.js from UglifyJs
506508Unexpected token: operator (>) [output.js:194,95]
0 commit comments