@@ -186,7 +186,7 @@ export function fibonacciJavascript(i) {
186
186
/** ****/
187
187
/** ****/ // a Promise means "currently loading" or "already loaded".
188
188
/** ****/ promises .push (installedWasmModuleData ||
189
- /** ****/ (installedWasmModules[wasmModuleId] = fetch (__webpack_require__ .p + " " + {" 1" : " 27bb124d07adac2541fe " ," 3" : " 0e736bedbc15ed9c8e33 " ," 4" : " 435e0d0a43195d073ec9 " }[wasmModuleId] + " .wasm" ).then (function (response ) {
189
+ /** ****/ (installedWasmModules[wasmModuleId] = fetch (__webpack_require__ .p + " " + {" 1" : " 77ca5181080bbc4c2f55 " ," 3" : " b6b19efd9d04360b0a8d " ," 4" : " 61f7b7b231ff2e0b5d25 " }[wasmModuleId] + " .wasm" ).then (function (response ) {
190
190
/** ****/ if (WebAssembly .compileStreaming ) {
191
191
/** ****/ return WebAssembly .compileStreaming (response);
192
192
/** ****/ } else {
@@ -264,7 +264,7 @@ export function fibonacciJavascript(i) {
264
264
/* ! no static exports found */
265
265
/** */ (function (module , exports , __webpack_require__ ) {
266
266
267
- __webpack_require__ .e /* import() */ (1 ).then (function () { var module = __webpack_require__ ( /* ! ./add.wasm */ 1 ); return typeof module === " object " && module && module . __esModule ? module : /* fake namespace object */ { " default " : module }; } ).then (addModule => {
267
+ __webpack_require__ .e /* import() */ (1 ).then (__webpack_require__ . bind ( null , /* ! ./add.wasm */ 1 )).then (addModule => {
268
268
console .log (addModule .add (22 , 2200 ));
269
269
__webpack_require__ .e /* import() */ (0 ).then (__webpack_require__ .bind (null , /* ! ./math */ 2 )).then (math => {
270
270
console .log (math .add (10 , 101 ));
@@ -305,7 +305,7 @@ function timed(name, fn) {
305
305
/* !******************!*\
306
306
!*** ./add.wasm ***!
307
307
\******************/
308
- /* ! no static exports found */
308
+ /* ! exports provided: add */
309
309
/** */ (function (module , exports , __webpack_require__ ) {
310
310
311
311
" use strict" ;
@@ -329,15 +329,12 @@ __webpack_require__.r(__webpack_exports__);
329
329
/* harmony export (binding) */ __webpack_require__ .d (__webpack_exports__, " factorialJavascript" , function () { return factorialJavascript; });
330
330
/* harmony export (binding) */ __webpack_require__ .d (__webpack_exports__, " fibonacciJavascript" , function () { return fibonacciJavascript; });
331
331
/* harmony import */ var _add_wasm__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__ (/* ! ./add.wasm */ 1 );
332
- /* harmony import */ var _add_wasm__WEBPACK_IMPORTED_MODULE_0___default = /* #__PURE__*/ __webpack_require__ .n (_add_wasm__WEBPACK_IMPORTED_MODULE_0__);
333
332
/* harmony reexport (safe) */ __webpack_require__ .d (__webpack_exports__, " add" , function () { return _add_wasm__WEBPACK_IMPORTED_MODULE_0__[" add" ]; });
334
333
335
334
/* harmony import */ var _factorial_wasm__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__ (/* ! ./factorial.wasm */ 3 );
336
- /* harmony import */ var _factorial_wasm__WEBPACK_IMPORTED_MODULE_1___default = /* #__PURE__*/ __webpack_require__ .n (_factorial_wasm__WEBPACK_IMPORTED_MODULE_1__);
337
335
/* harmony reexport (safe) */ __webpack_require__ .d (__webpack_exports__, " factorial" , function () { return _factorial_wasm__WEBPACK_IMPORTED_MODULE_1__[" factorial" ]; });
338
336
339
337
/* harmony import */ var _fibonacci_wasm__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__ (/* ! ./fibonacci.wasm */ 4 );
340
- /* harmony import */ var _fibonacci_wasm__WEBPACK_IMPORTED_MODULE_2___default = /* #__PURE__*/ __webpack_require__ .n (_fibonacci_wasm__WEBPACK_IMPORTED_MODULE_2__);
341
338
/* harmony reexport (safe) */ __webpack_require__ .d (__webpack_exports__, " fibonacci" , function () { return _fibonacci_wasm__WEBPACK_IMPORTED_MODULE_2__[" fibonacci" ]; });
342
339
343
340
@@ -362,7 +359,7 @@ function fibonacciJavascript(i) {
362
359
/* !************************!*\
363
360
!*** ./factorial.wasm ***!
364
361
\************************/
365
- /* ! no static exports found */
362
+ /* ! exports provided: factorial */
366
363
/** */ (function (module , exports , __webpack_require__ ) {
367
364
368
365
" use strict" ;
@@ -378,7 +375,7 @@ module.exports = instance.exports;
378
375
/* !************************!*\
379
376
!*** ./fibonacci.wasm ***!
380
377
\************************/
381
- /* ! no static exports found */
378
+ /* ! exports provided: fibonacci */
382
379
/** */ (function (module , exports , __webpack_require__ ) {
383
380
384
381
" use strict" ;
@@ -402,7 +399,7 @@ module.exports = instance.exports;
402
399
/* !******************!*\
403
400
!*** ./add.wasm ***!
404
401
\******************/
405
- /* ! no static exports found */
402
+ /* ! exports provided: add */
406
403
/** */ (function (module , exports , __webpack_require__ ) {
407
404
408
405
" use strict" ;
@@ -425,31 +422,35 @@ module.exports = instance.exports;
425
422
Hash: 0a1b2c3d4e5f6a7b8c9d
426
423
Version: webpack next
427
424
Asset Size Chunks Chunk Names
428
- 0.output.js 3.33 KiB 0 [emitted]
429
- 27bb124d07adac2541fe .wasm 41 bytes 0, 1 [emitted]
430
- 0e736bedbc15ed9c8e33 .wasm 62 bytes 0 [emitted]
431
- 435e0d0a43195d073ec9 .wasm 67 bytes 0 [emitted]
432
- 1.output.js 462 bytes 1 [emitted]
433
- output.js 9 KiB 2 [emitted] main
425
+ 0.output.js 2.87 KiB 0 [emitted]
426
+ 77ca5181080bbc4c2f55 .wasm 41 bytes 0, 1 [emitted]
427
+ b6b19efd9d04360b0a8d .wasm 62 bytes 0 [emitted]
428
+ 61f7b7b231ff2e0b5d25 .wasm 67 bytes 0 [emitted]
429
+ 1.output.js 460 bytes 1 [emitted]
430
+ output.js 8.86 KiB 2 [emitted] main
434
431
Entrypoint main = output.js
435
- chunk {0} 0.output.js, 27bb124d07adac2541fe .wasm, 0e736bedbc15ed9c8e33 .wasm, 435e0d0a43195d073ec9 .wasm 585 bytes {2} [rendered]
432
+ chunk {0} 0.output.js, 77ca5181080bbc4c2f55 .wasm, b6b19efd9d04360b0a8d .wasm, 61f7b7b231ff2e0b5d25 .wasm 585 bytes {2} [rendered]
436
433
> [0] ./example.js 3:1-17
437
434
[1] ./add.wasm 41 bytes {0} {1} [built]
435
+ [exports: add]
438
436
import() ./add.wasm [0] ./example.js 1:0-20
439
437
harmony side effect evaluation ./add.wasm [2] ./math.js 1:0-33
440
438
harmony export imported specifier ./add.wasm [2] ./math.js 5:0-37
441
439
[2] ./math.js 415 bytes {0} [built]
442
440
[exports: add, factorial, fibonacci, factorialJavascript, fibonacciJavascript]
443
441
import() ./math [0] ./example.js 3:1-17
444
442
[3] ./factorial.wasm 62 bytes {0} [built]
443
+ [exports: factorial]
445
444
harmony side effect evaluation ./factorial.wasm [2] ./math.js 2:0-45
446
445
harmony export imported specifier ./factorial.wasm [2] ./math.js 5:0-37
447
446
[4] ./fibonacci.wasm 67 bytes {0} [built]
447
+ [exports: fibonacci]
448
448
harmony side effect evaluation ./fibonacci.wasm [2] ./math.js 3:0-45
449
449
harmony export imported specifier ./fibonacci.wasm [2] ./math.js 5:0-37
450
- chunk {1} 1.output.js, 27bb124d07adac2541fe .wasm 41 bytes {2} [rendered]
450
+ chunk {1} 1.output.js, 77ca5181080bbc4c2f55 .wasm 41 bytes {2} [rendered]
451
451
> [0] ./example.js 1:0-20
452
452
[1] ./add.wasm 41 bytes {0} {1} [built]
453
+ [exports: add]
453
454
import() ./add.wasm [0] ./example.js 1:0-20
454
455
harmony side effect evaluation ./add.wasm [2] ./math.js 1:0-33
455
456
harmony export imported specifier ./add.wasm [2] ./math.js 5:0-37
@@ -465,33 +466,37 @@ chunk {2} output.js (main) 788 bytes [entry] [rendered]
465
466
Hash: 0a1b2c3d4e5f6a7b8c9d
466
467
Version: webpack next
467
468
Asset Size Chunks Chunk Names
468
- 0.output.js 730 bytes 0, 1 [emitted]
469
- ca9c9d58a020ad464842 .wasm 41 bytes 0, 1, 1 [emitted]
470
- 64fb1a95d49da0773219 .wasm 62 bytes 0, 1 [emitted]
471
- bc9b931dad77c0bbc6cc .wasm 67 bytes 0, 1 [emitted]
469
+ 0.output.js 722 bytes 0, 1 [emitted]
470
+ a1752e23bae9d6697e19 .wasm 41 bytes 0, 1, 1 [emitted]
471
+ 0b5fb42103459586a7f7 .wasm 62 bytes 0, 1 [emitted]
472
+ 48b4a645ac3841813d4e .wasm 67 bytes 0, 1 [emitted]
472
473
1.output.js 155 bytes 1 [emitted]
473
- output.js 2.58 KiB 2 [emitted] main
474
+ output.js 2.52 KiB 2 [emitted] main
474
475
Entrypoint main = output.js
475
- chunk {0} 0.output.js, ca9c9d58a020ad464842 .wasm, 64fb1a95d49da0773219 .wasm, bc9b931dad77c0bbc6cc .wasm 585 bytes {2} [rendered]
476
+ chunk {0} 0.output.js, a1752e23bae9d6697e19 .wasm, 0b5fb42103459586a7f7 .wasm, 48b4a645ac3841813d4e .wasm 585 bytes {2} [rendered]
476
477
> [0] ./example.js 3:1-17
477
478
[1] ./add.wasm 41 bytes {0} {1} [built]
479
+ [exports: add]
478
480
import() ./add.wasm [0] ./example.js 1:0-20
479
481
harmony side effect evaluation ./add.wasm [2] ./math.js 1:0-33
480
482
harmony export imported specifier ./add.wasm [2] ./math.js 5:0-37
481
483
[2] ./math.js 415 bytes {0} [built]
482
484
[exports: add, factorial, fibonacci, factorialJavascript, fibonacciJavascript]
483
485
import() ./math [0] ./example.js 3:1-17
484
486
[3] ./factorial.wasm 62 bytes {0} [built]
487
+ [exports: factorial]
485
488
[only some exports used: factorial]
486
489
harmony side effect evaluation ./factorial.wasm [2] ./math.js 2:0-45
487
490
harmony export imported specifier ./factorial.wasm [2] ./math.js 5:0-37
488
491
[4] ./fibonacci.wasm 67 bytes {0} [built]
492
+ [exports: fibonacci]
489
493
[only some exports used: fibonacci]
490
494
harmony side effect evaluation ./fibonacci.wasm [2] ./math.js 3:0-45
491
495
harmony export imported specifier ./fibonacci.wasm [2] ./math.js 5:0-37
492
- chunk {1} 1.output.js, ca9c9d58a020ad464842 .wasm 41 bytes {2} [rendered]
496
+ chunk {1} 1.output.js, a1752e23bae9d6697e19 .wasm 41 bytes {2} [rendered]
493
497
> [0] ./example.js 1:0-20
494
498
[1] ./add.wasm 41 bytes {0} {1} [built]
499
+ [exports: add]
495
500
import() ./add.wasm [0] ./example.js 1:0-20
496
501
harmony side effect evaluation ./add.wasm [2] ./math.js 1:0-33
497
502
harmony export imported specifier ./add.wasm [2] ./math.js 5:0-37
0 commit comments