@@ -186,7 +186,7 @@ export function fibonacciJavascript(i) {
186186/** ****/
187187/** ****/ // a Promise means "currently loading" or "already loaded".
188188/** ****/ promises .push (installedWasmModuleData ||
189- /** ****/ (installedWasmModules[wasmModuleId] = fetch (__webpack_require__ .p + " " + {" 1" : " dfb4a7e0fe04c4b12275 " ," 3" : " e1b901ac0a379599e05b " ," 4" : " be5298101765e5642343 " }[wasmModuleId] + " .wasm" ).then (function (response ) {
189+ /** ****/ (installedWasmModules[wasmModuleId] = fetch (__webpack_require__ .p + " " + {" 1" : " 77ca5181080bbc4c2f55 " ," 3" : " 424222aea02169c2ac0b " ," 4" : " 6592209f36649069b70c " }[wasmModuleId] + " .wasm" ).then (function (response ) {
190190/** ****/ if (WebAssembly .compileStreaming ) {
191191/** ****/ return WebAssembly .compileStreaming (response);
192192/** ****/ } else {
@@ -305,13 +305,14 @@ function timed(name, fn) {
305305/* !******************!*\
306306 !*** ./add.wasm ***!
307307 \******************/
308- /* ! no exports provided */
308+ /* ! exports provided: add */
309309/** */ (function (module , exports , __webpack_require__ ) {
310310
311311" use strict" ;
312312
313313// Instanciate WebAssembly module
314- var instance = new WebAssembly.Instance (__webpack_require__ .w [module .i ], {});
314+ var instance = new WebAssembly.Instance (__webpack_require__ .w [module .i ], {
315+ });
315316
316317// export exports from WebAssmbly module
317318module .exports = instance .exports ;
@@ -359,13 +360,14 @@ function fibonacciJavascript(i) {
359360/* !************************!*\
360361 !*** ./fibonacci.wasm ***!
361362 \************************/
362- /* ! no exports provided */
363+ /* ! exports provided: fibonacci */
363364/** */ (function (module , exports , __webpack_require__ ) {
364365
365366" use strict" ;
366367
367368// Instanciate WebAssembly module
368- var instance = new WebAssembly.Instance (__webpack_require__ .w [module .i ], {});
369+ var instance = new WebAssembly.Instance (__webpack_require__ .w [module .i ], {
370+ });
369371
370372// export exports from WebAssmbly module
371373module .exports = instance .exports ;
@@ -375,13 +377,14 @@ module.exports = instance.exports;
375377/* !************************!*\
376378 !*** ./factorial.wasm ***!
377379 \************************/
378- /* ! no exports provided */
380+ /* ! exports provided: factorial */
379381/** */ (function (module , exports , __webpack_require__ ) {
380382
381383" use strict" ;
382384
383385// Instanciate WebAssembly module
384- var instance = new WebAssembly.Instance (__webpack_require__ .w [module .i ], {});
386+ var instance = new WebAssembly.Instance (__webpack_require__ .w [module .i ], {
387+ });
385388
386389// export exports from WebAssmbly module
387390module .exports = instance .exports ;
@@ -399,13 +402,14 @@ module.exports = instance.exports;
399402/* !******************!*\
400403 !*** ./add.wasm ***!
401404 \******************/
402- /* ! no exports provided */
405+ /* ! exports provided: add */
403406/** */ (function (module , exports , __webpack_require__ ) {
404407
405408" use strict" ;
406409
407410// Instanciate WebAssembly module
408- var instance = new WebAssembly.Instance (__webpack_require__ .w [module .i ], {});
411+ var instance = new WebAssembly.Instance (__webpack_require__ .w [module .i ], {
412+ });
409413
410414// export exports from WebAssmbly module
411415module .exports = instance .exports ;
@@ -422,57 +426,42 @@ module.exports = instance.exports;
422426Hash: 0a1b2c3d4e5f6a7b8c9d
423427Version: webpack next
424428 Asset Size Chunks Chunk Names
425- 0.output.js 2.85 KiB 0 [emitted]
426- dfb4a7e0fe04c4b12275 .wasm 41 bytes 0, 1 [emitted]
427- e1b901ac0a379599e05b .wasm 67 bytes 0 [emitted]
428- be5298101765e5642343 .wasm 62 bytes 0 [emitted]
429- 1.output.js 458 bytes 1 [emitted]
429+ 0.output.js 2.87 KiB 0 [emitted]
430+ 77ca5181080bbc4c2f55 .wasm 41 bytes 0, 1 [emitted]
431+ 424222aea02169c2ac0b .wasm 67 bytes 0 [emitted]
432+ 6592209f36649069b70c .wasm 62 bytes 0 [emitted]
433+ 1.output.js 461 bytes 1 [emitted]
430434 output.js 8.86 KiB 2 [emitted] main
431435Entrypoint main = output.js
432- chunk {0} 0.output.js, dfb4a7e0fe04c4b12275 .wasm, e1b901ac0a379599e05b .wasm, be5298101765e5642343 .wasm 585 bytes {2} [rendered]
436+ chunk {0} 0.output.js, 77ca5181080bbc4c2f55 .wasm, 424222aea02169c2ac0b .wasm, 6592209f36649069b70c .wasm 585 bytes {2} [rendered]
433437 > [0] ./example.js 3:1-17
434438 [1] ./add.wasm 41 bytes {0} {1} [built]
435- [no exports]
439+ [exports: add ]
436440 import() ./add.wasm [0] ./example.js 1:0-20
437441 harmony side effect evaluation ./add.wasm [2] ./math.js 1:0-33
438442 harmony export imported specifier ./add.wasm [2] ./math.js 5:0-37
439443 [2] ./math.js 415 bytes {0} [built]
440444 [exports: add, factorial, fibonacci, factorialJavascript, fibonacciJavascript]
441445 import() ./math [0] ./example.js 3:1-17
442446 [3] ./fibonacci.wasm 67 bytes {0} [built]
443- [no exports]
447+ [exports: fibonacci ]
444448 harmony side effect evaluation ./fibonacci.wasm [2] ./math.js 3:0-45
445449 harmony export imported specifier ./fibonacci.wasm [2] ./math.js 5:0-37
446450 [4] ./factorial.wasm 62 bytes {0} [built]
447- [no exports]
451+ [exports: factorial ]
448452 harmony side effect evaluation ./factorial.wasm [2] ./math.js 2:0-45
449453 harmony export imported specifier ./factorial.wasm [2] ./math.js 5:0-37
450- chunk {1} 1.output.js, dfb4a7e0fe04c4b12275 .wasm 41 bytes {2} [rendered]
454+ chunk {1} 1.output.js, 77ca5181080bbc4c2f55 .wasm 41 bytes {2} [rendered]
451455 > [0] ./example.js 1:0-20
452456 [1] ./add.wasm 41 bytes {0} {1} [built]
453- [no exports]
457+ [exports: add ]
454458 import() ./add.wasm [0] ./example.js 1:0-20
455459 harmony side effect evaluation ./add.wasm [2] ./math.js 1:0-33
456460 harmony export imported specifier ./add.wasm [2] ./math.js 5:0-37
457461chunk {2} output.js (main) 788 bytes [entry] [rendered]
458462 > main [0] ./example.js
459463 [0] ./example.js 788 bytes {2} [built]
460464 single entry .\example.js main
461-
462- WARNING in ./math.js
463- 5:0-37 "export 'add' was not found in './add.wasm'
464- @ ./math.js
465- @ ./example.js
466-
467- WARNING in ./math.js
468- 5:0-37 "export 'factorial' was not found in './factorial.wasm'
469- @ ./math.js
470- @ ./example.js
471-
472- WARNING in ./math.js
473- 5:0-37 "export 'fibonacci' was not found in './fibonacci.wasm'
474- @ ./math.js
475- @ ./example.js
476465```
477466
478467## Production mode
@@ -481,57 +470,42 @@ WARNING in ./math.js
481470Hash: 0a1b2c3d4e5f6a7b8c9d
482471Version: webpack next
483472 Asset Size Chunks Chunk Names
484- 0.output.js 678 bytes 0, 1 [emitted]
485- 757bb345582bd1ae1d04 .wasm 41 bytes 0, 1, 1 [emitted]
486- 297f58801b59a28900b9 .wasm 67 bytes 0, 1 [emitted]
487- efde8fda4e8d8120f402 .wasm 62 bytes 0, 1 [emitted]
473+ 0.output.js 722 bytes 0, 1 [emitted]
474+ a1752e23bae9d6697e19 .wasm 41 bytes 0, 1, 1 [emitted]
475+ 59050c920f4856493f59 .wasm 67 bytes 0, 1 [emitted]
476+ 3e14b309328fdb65063d .wasm 62 bytes 0, 1 [emitted]
488477 1.output.js 155 bytes 1 [emitted]
489478 output.js 2.52 KiB 2 [emitted] main
490479Entrypoint main = output.js
491- chunk {0} 0.output.js, 757bb345582bd1ae1d04 .wasm, 297f58801b59a28900b9 .wasm, efde8fda4e8d8120f402 .wasm 585 bytes {2} [rendered]
480+ chunk {0} 0.output.js, a1752e23bae9d6697e19 .wasm, 59050c920f4856493f59 .wasm, 3e14b309328fdb65063d .wasm 585 bytes {2} [rendered]
492481 > [0] ./example.js 3:1-17
493482 [1] ./add.wasm 41 bytes {0} {1} [built]
494- [no exports]
483+ [exports: add ]
495484 import() ./add.wasm [0] ./example.js 1:0-20
496485 harmony side effect evaluation ./add.wasm [2] ./math.js 1:0-33
497486 harmony export imported specifier ./add.wasm [2] ./math.js 5:0-37
498487 [2] ./math.js 415 bytes {0} [built]
499488 [exports: add, factorial, fibonacci, factorialJavascript, fibonacciJavascript]
500489 import() ./math [0] ./example.js 3:1-17
501490 [3] ./fibonacci.wasm 67 bytes {0} [built]
502- [no exports]
491+ [exports: fibonacci ]
503492 [only some exports used: fibonacci]
504493 harmony side effect evaluation ./fibonacci.wasm [2] ./math.js 3:0-45
505494 harmony export imported specifier ./fibonacci.wasm [2] ./math.js 5:0-37
506495 [4] ./factorial.wasm 62 bytes {0} [built]
507- [no exports]
496+ [exports: factorial ]
508497 [only some exports used: factorial]
509498 harmony side effect evaluation ./factorial.wasm [2] ./math.js 2:0-45
510499 harmony export imported specifier ./factorial.wasm [2] ./math.js 5:0-37
511- chunk {1} 1.output.js, 757bb345582bd1ae1d04 .wasm 41 bytes {2} [rendered]
500+ chunk {1} 1.output.js, a1752e23bae9d6697e19 .wasm 41 bytes {2} [rendered]
512501 > [0] ./example.js 1:0-20
513502 [1] ./add.wasm 41 bytes {0} {1} [built]
514- [no exports]
503+ [exports: add ]
515504 import() ./add.wasm [0] ./example.js 1:0-20
516505 harmony side effect evaluation ./add.wasm [2] ./math.js 1:0-33
517506 harmony export imported specifier ./add.wasm [2] ./math.js 5:0-37
518507chunk {2} output.js (main) 788 bytes [entry] [rendered]
519508 > main [0] ./example.js
520509 [0] ./example.js 788 bytes {2} [built]
521510 single entry .\example.js main
522-
523- WARNING in ./math.js
524- 5:0-37 "export 'add' was not found in './add.wasm'
525- @ ./math.js
526- @ ./example.js
527-
528- WARNING in ./math.js
529- 5:0-37 "export 'factorial' was not found in './factorial.wasm'
530- @ ./math.js
531- @ ./example.js
532-
533- WARNING in ./math.js
534- 5:0-37 "export 'fibonacci' was not found in './fibonacci.wasm'
535- @ ./math.js
536- @ ./example.js
537511```
0 commit comments