@@ -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" : " 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 ) {
190
190
/** ****/ if (WebAssembly .compileStreaming ) {
191
191
/** ****/ return WebAssembly .compileStreaming (response);
192
192
/** ****/ } else {
@@ -305,13 +305,14 @@ function timed(name, fn) {
305
305
/* !******************!*\
306
306
!*** ./add.wasm ***!
307
307
\******************/
308
- /* ! no exports provided */
308
+ /* ! exports provided: add */
309
309
/** */ (function (module , exports , __webpack_require__ ) {
310
310
311
311
" use strict" ;
312
312
313
313
// 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
+ });
315
316
316
317
// export exports from WebAssmbly module
317
318
module .exports = instance .exports ;
@@ -359,13 +360,14 @@ function fibonacciJavascript(i) {
359
360
/* !************************!*\
360
361
!*** ./fibonacci.wasm ***!
361
362
\************************/
362
- /* ! no exports provided */
363
+ /* ! exports provided: fibonacci */
363
364
/** */ (function (module , exports , __webpack_require__ ) {
364
365
365
366
" use strict" ;
366
367
367
368
// 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
+ });
369
371
370
372
// export exports from WebAssmbly module
371
373
module .exports = instance .exports ;
@@ -375,13 +377,14 @@ module.exports = instance.exports;
375
377
/* !************************!*\
376
378
!*** ./factorial.wasm ***!
377
379
\************************/
378
- /* ! no exports provided */
380
+ /* ! exports provided: factorial */
379
381
/** */ (function (module , exports , __webpack_require__ ) {
380
382
381
383
" use strict" ;
382
384
383
385
// 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
+ });
385
388
386
389
// export exports from WebAssmbly module
387
390
module .exports = instance .exports ;
@@ -399,13 +402,14 @@ module.exports = instance.exports;
399
402
/* !******************!*\
400
403
!*** ./add.wasm ***!
401
404
\******************/
402
- /* ! no exports provided */
405
+ /* ! exports provided: add */
403
406
/** */ (function (module , exports , __webpack_require__ ) {
404
407
405
408
" use strict" ;
406
409
407
410
// 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
+ });
409
413
410
414
// export exports from WebAssmbly module
411
415
module .exports = instance .exports ;
@@ -422,57 +426,42 @@ module.exports = instance.exports;
422
426
Hash: 0a1b2c3d4e5f6a7b8c9d
423
427
Version: webpack next
424
428
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]
430
434
output.js 8.86 KiB 2 [emitted] main
431
435
Entrypoint 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]
433
437
> [0] ./example.js 3:1-17
434
438
[1] ./add.wasm 41 bytes {0} {1} [built]
435
- [no exports]
439
+ [exports: add ]
436
440
import() ./add.wasm [0] ./example.js 1:0-20
437
441
harmony side effect evaluation ./add.wasm [2] ./math.js 1:0-33
438
442
harmony export imported specifier ./add.wasm [2] ./math.js 5:0-37
439
443
[2] ./math.js 415 bytes {0} [built]
440
444
[exports: add, factorial, fibonacci, factorialJavascript, fibonacciJavascript]
441
445
import() ./math [0] ./example.js 3:1-17
442
446
[3] ./fibonacci.wasm 67 bytes {0} [built]
443
- [no exports]
447
+ [exports: fibonacci ]
444
448
harmony side effect evaluation ./fibonacci.wasm [2] ./math.js 3:0-45
445
449
harmony export imported specifier ./fibonacci.wasm [2] ./math.js 5:0-37
446
450
[4] ./factorial.wasm 62 bytes {0} [built]
447
- [no exports]
451
+ [exports: factorial ]
448
452
harmony side effect evaluation ./factorial.wasm [2] ./math.js 2:0-45
449
453
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]
451
455
> [0] ./example.js 1:0-20
452
456
[1] ./add.wasm 41 bytes {0} {1} [built]
453
- [no exports]
457
+ [exports: add ]
454
458
import() ./add.wasm [0] ./example.js 1:0-20
455
459
harmony side effect evaluation ./add.wasm [2] ./math.js 1:0-33
456
460
harmony export imported specifier ./add.wasm [2] ./math.js 5:0-37
457
461
chunk {2} output.js (main) 788 bytes [entry] [rendered]
458
462
> main [0] ./example.js
459
463
[0] ./example.js 788 bytes {2} [built]
460
464
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
476
465
```
477
466
478
467
## Production mode
@@ -481,57 +470,42 @@ WARNING in ./math.js
481
470
Hash: 0a1b2c3d4e5f6a7b8c9d
482
471
Version: webpack next
483
472
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]
488
477
1.output.js 155 bytes 1 [emitted]
489
478
output.js 2.52 KiB 2 [emitted] main
490
479
Entrypoint 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]
492
481
> [0] ./example.js 3:1-17
493
482
[1] ./add.wasm 41 bytes {0} {1} [built]
494
- [no exports]
483
+ [exports: add ]
495
484
import() ./add.wasm [0] ./example.js 1:0-20
496
485
harmony side effect evaluation ./add.wasm [2] ./math.js 1:0-33
497
486
harmony export imported specifier ./add.wasm [2] ./math.js 5:0-37
498
487
[2] ./math.js 415 bytes {0} [built]
499
488
[exports: add, factorial, fibonacci, factorialJavascript, fibonacciJavascript]
500
489
import() ./math [0] ./example.js 3:1-17
501
490
[3] ./fibonacci.wasm 67 bytes {0} [built]
502
- [no exports]
491
+ [exports: fibonacci ]
503
492
[only some exports used: fibonacci]
504
493
harmony side effect evaluation ./fibonacci.wasm [2] ./math.js 3:0-45
505
494
harmony export imported specifier ./fibonacci.wasm [2] ./math.js 5:0-37
506
495
[4] ./factorial.wasm 62 bytes {0} [built]
507
- [no exports]
496
+ [exports: factorial ]
508
497
[only some exports used: factorial]
509
498
harmony side effect evaluation ./factorial.wasm [2] ./math.js 2:0-45
510
499
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]
512
501
> [0] ./example.js 1:0-20
513
502
[1] ./add.wasm 41 bytes {0} {1} [built]
514
- [no exports]
503
+ [exports: add ]
515
504
import() ./add.wasm [0] ./example.js 1:0-20
516
505
harmony side effect evaluation ./add.wasm [2] ./math.js 1:0-33
517
506
harmony export imported specifier ./add.wasm [2] ./math.js 5:0-37
518
507
chunk {2} output.js (main) 788 bytes [entry] [rendered]
519
508
> main [0] ./example.js
520
509
[0] ./example.js 788 bytes {2} [built]
521
510
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
537
511
```
0 commit comments