Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(chunk): Introduce asyncChunkMode and default to 'eager' #8645

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

TheLarkInn
Copy link
Member

Fixes #8644

What kind of change does this PR introduce?
Feature

Did you add tests for your changes?
Not yet, but we'll get there.

Does this PR introduce a breaking change?
Yes.

Technically this is a breaking change. By default webpack generates in mode: development a individual bundle for each use of import(). This PR would modify this behavior for the users dev environment to not create additional async bundles.

However functionally this may only cause break's on extreme edge cases (strange SSR/mode usages?).

What needs to be documented once your changes are merged?
Addition of a new configuration property

module: {
  asnycChunkMode: "eager" // (or "lazy")
}

"eager" is the default for development environment, and "lazy" is the default for any other mode.

@webpack-bot
Copy link
Contributor

webpack-bot commented Jan 18, 2019

For maintainers only:

  • This need to be documented (issue in webpack/webpack.js.org will be filed when merged)

@TheLarkInn TheLarkInn changed the title feat(chunk): Introduct asyncChunkMode and default to 'eager' feat(chunk): Introduce asyncChunkMode and default to 'eager' Jan 18, 2019
@TheLarkInn
Copy link
Member Author

Note: fix this test

image

Also investigate source-map tests section based on errors.

@Jessidhia
Copy link
Member

My only obvious concern is that this will make it harder to catch CORS misconfigurations; but fixing CORS is a one-time thing, this build loop happens several times per hour...

ooflorent
ooflorent previously approved these changes Jan 18, 2019
Copy link
Member

@ooflorent ooflorent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this change but I'm not convinced by the option location. I think output. asyncChunkMode would be a better place.

@ooflorent
Copy link
Member

@TheLarkInn Could you update the test configurations to keep the old behavior?

@MLoughry
Copy link
Contributor

For some real-world data from Outlook Web's codebase, I ran both v5-alpha.6 and this branch in dev watch mode 5 times each, and triggered 5 incremental builds for each run.

initial build(avg) first incremental build (avg) subsequent incremental build (avg)
v5-alpha.6 237.8s 53.1s 13.4s
this PR 179.5s 5.21s 4.12s

@TheLarkInn
Copy link
Member Author

@ooflorent what do you think is the best approach here. Should I set mode false and update the values of the strings produced for that test?

@ooflorent
Copy link
Member

@TheLarkInn I think the existing tests should use false. This way you don't have to update them.

@webpack-bot
Copy link
Contributor

The basic integration tests succeeded, but the full suite failed.

@TheLarkInn Please review the following output log for errors:

warning You are using Node "12.0.0-nightly20181024bb79e768e5" which is not supported and may encounter bugs or unexpected behavior. Yarn supports the following semver range: "^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0"
warning You are using Node "12.0.0-nightly20181024bb79e768e5" which is not supported and may encounter bugs or unexpected behavior. Yarn supports the following semver range: "^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0"

warning You are using Node "12.0.0-nightly20181024bb79e768e5" which is not supported and may encounter bugs or unexpected behavior. Yarn supports the following semver range: "^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0"
FAIL test/TestCasesDevelopment.test.js (32.815s)
  ● Console

    console.error node_modules/jest-jasmine2/build/jasmine/Env.js:157
      Unhandled error
    console.error node_modules/jest-jasmine2/build/jasmine/Env.js:158
      TypeError: Cannot read property './wasm/finalize-exports-issue-8261/node_modules/side-effect-free/module.wat' of undefined
          at Object../wasm/finalize-exports-issue-8261/node_modules/side-effect-free/module.wat (/home/travis/build/webpack/webpack/test/js/development/wasm/finalize-exports-issue-8261/bundle.js:88:40)
          at __webpack_require__ (/home/travis/build/webpack/webpack/test/js/development/wasm/finalize-exports-issue-8261/bundle.js:21:30)
          at Module../wasm/finalize-exports-issue-8261/node_modules/side-effect-free/index.js (/home/travis/build/webpack/webpack/test/js/development/wasm/finalize-exports-issue-8261/bundle.js:72:69)
          at __webpack_require__ (/home/travis/build/webpack/webpack/test/js/development/wasm/finalize-exports-issue-8261/bundle.js:21:30)
Show remaining errors
  ● TestCases › development › chunks › inline-options › exported tests › should be able to combine chunks by name

    expect(received).toBe(expected) // Object.is equality

    Expected: false
    Received: true

      791 | 	var syncInitial = true;
      792 | 	var p = Promise.all([load("a"), load("b")]).then(function() {
    > 793 | 		expect(syncInitial).toBe(expectedSyncInitial);
          | 		                    ^
      794 | 		sync = true;
      795 | 		var p = Promise.all([
      796 | 			load("a").then(function(a) {

      at test/js/development/chunks/inline-options/bundle.js:793:23

  ● TestCases › development › chunks › named-chunks › exported tests › should be able to use named chunks in import()

    expect(received).toBeFalsy()

    Received: true

      329 | 		});
      330 | 		Promise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! ./empty?import3-in-chunk2 */ "./chunks/named-chunks/empty.js?import3-in-chunk2", 7)).then(function(result){
    > 331 | 			expect(sync).toBeFalsy();
          | 			             ^
      332 | 			if(i++ > 0) done();
      333 | 		}).catch(function(err){
      334 | 			done(err);

      at test/js/development/chunks/named-chunks/bundle.js:331:17

  ● TestCases › development › chunks › named-chunks › exported tests › should be able to use named chunk in context import()

    expect(received).toBeFalsy()

    Received: true

      353 | 		});
      354 | 		__webpack_require__("./chunks/named-chunks eager recursive ^\\.\\/e.*4$")("./e" + mpty + "4").then(function(result){
    > 355 | 			expect(sync).toBeFalsy();
          | 			             ^
      356 | 			if(i++ > 0) done();
      357 | 		}).catch(function(err){
      358 | 			done(err);

      at test/js/development/chunks/named-chunks/bundle.js:355:17

  ● TestCases › development › chunks › weird-reference-to-entry › weird-reference-to-entry should compile

    Less errors while compiling than expected:

    . Check expected errors: /home/travis/build/webpack/webpack/test/cases/chunks/weird-reference-to-entry/errors.js

      67 | 			return (
      68 | 				done(
    > 69 | 					new Error(
         | 					^
      70 | 						`Less ${kind}s while compiling than expected:\n\n${array.map(explain).join(
      71 | 							"\n\n"
      72 | 						)}. Check expected ${kind}s: ${expectedFilename}`

      at checkArrayExpectation (test/checkArrayExpectation.js:69:6)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (eval at create (node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (eval at create (node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (eval at create (node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › decoding › decoding should compile

    Errors while compiling:

    moduleId = ./wasm/decoding/memory2.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/decoding/memory2.wasm; moduleName = ./wasm/decoding/memory2.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/decoding/index.js","originIdentifier":"/home/travis/build/webp...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/decoding/memory3.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/decoding/memory3.wasm; moduleName = ./wasm/decoding/memory3.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/decoding/index.js","originIdentifier":"/home/travis/build/webp...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › decoding › exported tests › should support wasm compiled from c++

    TypeError: Cannot read property './wasm/decoding/memory3.wasm' of undefined

      101 | "use strict";
      102 | // Instantiate WebAssembly module
    > 103 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      104 | 
      105 | // export exports from WebAssembly module
      106 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/decoding/memory3.wasm (test/js/development/wasm/decoding/bundle.js:103:40)
      at __webpack_require__ (test/js/development/wasm/decoding/bundle.js:21:30)

  ● TestCases › development › wasm › decoding › exported tests › should raw memory export without data

    TypeError: Cannot read property './wasm/decoding/memory2.wasm' of undefined

      79 | "use strict";
      80 | // Instantiate WebAssembly module
    > 81 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      82 | 
      83 | // export exports from WebAssembly module
      84 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/decoding/memory2.wasm (test/js/development/wasm/decoding/bundle.js:81:40)
      at __webpack_require__ (test/js/development/wasm/decoding/bundle.js:21:30)

  ● TestCases › development › wasm › export-imported-global › export-imported-global should compile

    Errors while compiling:

    moduleId = ./wasm/export-imported-global/module.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/export-imported-global/module.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/export-imported-global/module.js","originIdentifier":"/home/tr...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › export-imported-global › exported tests › should export imported global

    TypeError: Cannot read property './wasm/export-imported-global/module.wat' of undefined

      122 | "use strict";
      123 | // Instantiate WebAssembly module
    > 124 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      125 | 
      126 | // export exports from WebAssembly module
      127 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/export-imported-global/module.wat (test/js/development/wasm/export-imported-global/bundle.js:124:40)
      at __webpack_require__ (test/js/development/wasm/export-imported-global/bundle.js:21:30)
      at Module../wasm/export-imported-global/module.js (test/js/development/wasm/export-imported-global/bundle.js:108:69)
      at __webpack_require__ (test/js/development/wasm/export-imported-global/bundle.js:21:30)

  ● TestCases › development › wasm › finalize-exports-issue-8261 › finalize-exports-issue-8261 should compile

    Errors while compiling:

    moduleId = ./wasm/finalize-exports-issue-8261/node_modules/side-effect-free/module.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/finalize-exports-issue-8261/node_modules/side-effect-free/module.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/finalize-exports-issue-8261/node_modules/side-effect-free/inde...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › global-refs-imported-global › global-refs-imported-global should compile

    Errors while compiling:

    moduleId = ./wasm/global-refs-imported-global/module.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/global-refs-imported-global/module.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/global-refs-imported-global/index.js","originIdentifier":"/hom...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › global-refs-imported-global › exported tests › should allow global with imported global as initilizer

    TypeError: Cannot read property './wasm/global-refs-imported-global/module.wat' of undefined

      87 | "use strict";
      88 | // Instantiate WebAssembly module
    > 89 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      90 | 
      91 | // export exports from WebAssembly module
      92 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/global-refs-imported-global/module.wat (test/js/development/wasm/global-refs-imported-global/bundle.js:89:40)
      at __webpack_require__ (test/js/development/wasm/global-refs-imported-global/bundle.js:21:30)

  ● TestCases › development › wasm › import-wasm-wasm › import-wasm-wasm should compile

    Errors while compiling:

    moduleId = ./wasm/import-wasm-wasm/wasm.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/import-wasm-wasm/wasm.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/import-wasm-wasm/index.js","originIdentifier":"/home/travis/bu...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/import-wasm-wasm/wasm2.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/import-wasm-wasm/wasm2.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/import-wasm-wasm/wasm.wat","originIdentifier":"/home/travis/bu...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › import-wasm-wasm › exported tests › should allow to run a WebAssembly module with imports

    TypeError: Cannot read property './wasm/import-wasm-wasm/wasm.wat' of undefined

      70 | "use strict";
      71 | // Instantiate WebAssembly module
    > 72 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      73 | 
      74 | // export exports from WebAssembly module
      75 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/import-wasm-wasm/wasm.wat (test/js/development/wasm/import-wasm-wasm/bundle.js:72:40)
      at __webpack_require__ (test/js/development/wasm/import-wasm-wasm/bundle.js:21:30)

  ● TestCases › development › wasm › imported-global-preserve-ordering › imported-global-preserve-ordering should compile

    Errors while compiling:

    moduleId = ./wasm/imported-global-preserve-ordering/module.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/imported-global-preserve-ordering/module.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imported-global-preserve-ordering/index.js","originIdentifier"...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › imported-global-preserve-ordering › exported tests › should preserve the ordering of globals

    TypeError: Cannot read property './wasm/imported-global-preserve-ordering/module.wat' of undefined

       98 | "use strict";
       99 | // Instantiate WebAssembly module
    > 100 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      101 | 
      102 | // export exports from WebAssembly module
      103 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/imported-global-preserve-ordering/module.wat (test/js/development/wasm/imported-global-preserve-ordering/bundle.js:100:40)
      at __webpack_require__ (test/js/development/wasm/imported-global-preserve-ordering/bundle.js:21:30)

  ● TestCases › development › wasm › imported-global-preserve-type › imported-global-preserve-type should compile

    Errors while compiling:

    moduleId = ./wasm/imported-global-preserve-type/module.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/imported-global-preserve-type/module.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imported-global-preserve-type/index.js","originIdentifier":"/h...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › imported-global-preserve-type › exported tests › should preserve the valtype of the imported global

    TypeError: Cannot read property './wasm/imported-global-preserve-type/module.wat' of undefined

      87 | "use strict";
      88 | // Instantiate WebAssembly module
    > 89 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      90 | 
      91 | // export exports from WebAssembly module
      92 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/imported-global-preserve-type/module.wat (test/js/development/wasm/imported-global-preserve-type/bundle.js:89:40)
      at __webpack_require__ (test/js/development/wasm/imported-global-preserve-type/bundle.js:21:30)

  ● TestCases › development › wasm › imports › imports should compile

    Errors while compiling:

    moduleId = ./wasm/imports/wasm.wat?1; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/imports/wasm.wat?1; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports/index.js","originIdentifier":"/home/travis/build/webpa...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › imports › exported tests › should allow to run a WebAssembly module with imports

    TypeError: Cannot read property './wasm/imports/wasm.wat?1' of undefined

      90 | "use strict";
      91 | // Instantiate WebAssembly module
    > 92 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      93 | 
      94 | // export exports from WebAssembly module
      95 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/imports/wasm.wat?1 (test/js/development/wasm/imports/bundle.js:92:40)
      at __webpack_require__ (test/js/development/wasm/imports/bundle.js:21:30)

  ● TestCases › development › wasm › imports-circular › imports-circular should compile

    Errors while compiling:

    moduleId = ./wasm/imports-circular/wasm.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/imports-circular/wasm.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports-circular/module.js","originIdentifier":"/home/travis/b...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › imports-circular › exported tests › should allow to run a WebAssembly module importing JS circular

    TypeError: Cannot read property './wasm/imports-circular/wasm.wat' of undefined

       95 | "use strict";
       96 | // Instantiate WebAssembly module
    >  97 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
       98 | 
       99 | // export exports from WebAssembly module
      100 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/imports-circular/wasm.wat (test/js/development/wasm/imports-circular/bundle.js:97:40)
      at __webpack_require__ (test/js/development/wasm/imports-circular/bundle.js:21:30)
      at Module../wasm/imports-circular/module.js (test/js/development/wasm/imports-circular/bundle.js:75:67)
      at __webpack_require__ (test/js/development/wasm/imports-circular/bundle.js:21:30)

  ● TestCases › development › wasm › imports-complex-types › imports-complex-types should compile

    Errors while compiling:

    moduleId = ./wasm/imports-complex-types/other.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/imports-complex-types/other...; moduleName = ./wasm/imports-complex-types/other.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports-complex-types/wasm.wasm","originIdentifier":"/home/tra...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/imports-complex-types/wasm.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/imports-complex-types/wasm....; moduleName = ./wasm/imports-complex-types/wasm.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports-complex-types/index.js","originIdentifier":"/home/trav...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › imports-complex-types › exported tests › should allow to run a WebAssembly module with non-js-compatible imports

    TypeError: Cannot read property './wasm/imports-complex-types/wasm.wasm' of undefined

      92 | "use strict";
      93 | // Instantiate WebAssembly module
    > 94 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      95 | 
      96 | // export exports from WebAssembly module
      97 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/imports-complex-types/wasm.wasm (test/js/development/wasm/imports-complex-types/bundle.js:94:40)
      at __webpack_require__ (test/js/development/wasm/imports-complex-types/bundle.js:21:30)

  ● TestCases › development › wasm › imports-many-direct › imports-many-direct should compile

    Errors while compiling:

    moduleId = ./wasm/imports-many-direct/other1.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/imports-many-direct/other1.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports-many-direct/wasm.wat","originIdentifier":"/home/travis...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/imports-many-direct/other2.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/imports-many-direct/other2.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports-many-direct/wasm.wat","originIdentifier":"/home/travis...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/imports-many-direct/wasm.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/imports-many-direct/wasm.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports-many-direct/index.js","originIdentifier":"/home/travis...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › imports-many-direct › exported tests › should allow to run a WebAssembly module with many direct wasm dependencies

    TypeError: Cannot read property './wasm/imports-many-direct/wasm.wat' of undefined

      114 | "use strict";
      115 | // Instantiate WebAssembly module
    > 116 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      117 | 
      118 | // export exports from WebAssembly module
      119 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/imports-many-direct/wasm.wat (test/js/development/wasm/imports-many-direct/bundle.js:116:40)
      at __webpack_require__ (test/js/development/wasm/imports-many-direct/bundle.js:21:30)

  ● TestCases › development › wasm › imports-multiple › imports-multiple should compile

    Errors while compiling:

    moduleId = ./wasm/imports-multiple/wasm.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/imports-multiple/wasm.wasm; moduleName = ./wasm/imports-multiple/wasm.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports-multiple/module.js","originIdentifier":"/home/travis/b...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › imports-multiple › exported tests › should allow to run a WebAssembly module importing from multiple modules

    TypeError: Cannot read property './wasm/imports-multiple/wasm.wasm' of undefined

      116 | "use strict";
      117 | // Instantiate WebAssembly module
    > 118 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      119 | 
      120 | // export exports from WebAssembly module
      121 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/imports-multiple/wasm.wasm (test/js/development/wasm/imports-multiple/bundle.js:118:40)
      at __webpack_require__ (test/js/development/wasm/imports-multiple/bundle.js:21:30)
      at Module../wasm/imports-multiple/module.js (test/js/development/wasm/imports-multiple/bundle.js:75:68)
      at __webpack_require__ (test/js/development/wasm/imports-multiple/bundle.js:21:30)

  ● TestCases › development › wasm › memory › memory should compile

    Errors while compiling:

    moduleId = ./wasm/memory/mem-access.wat?1; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/memory/mem-access.wat?1; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/memory/run.js","originIdentifier":"/home/travis/build/webpack/...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/memory/mem-access.wat?2; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/memory/mem-access.wat?2; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/memory/run.js","originIdentifier":"/home/travis/build/webpack/...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/memory/memory.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/memory/memory.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/memory/mem-access.wat?2","originIdentifier":"/home/travis/buil...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › memory › exported tests › should allow direct memory connection between wasm modules

    TypeError: Cannot read property './wasm/memory/mem-access.wat?1' of undefined

      74 | "use strict";
      75 | // Instantiate WebAssembly module
    > 76 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      77 | 
      78 | // export exports from WebAssembly module
      79 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/memory/mem-access.wat?1 (test/js/development/wasm/memory/bundle.js:76:40)
      at __webpack_require__ (test/js/development/wasm/memory/bundle.js:21:30)
      at Module../wasm/memory/run.js (test/js/development/wasm/memory/bundle.js:148:75)
      at __webpack_require__ (test/js/development/wasm/memory/bundle.js:21:30)

  ● TestCases › development › wasm › order › order should compile

    Errors while compiling:

    moduleId = ./wasm/order/wasm.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/order/wasm.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/order/a.js","originIdentifier":"/home/travis/build/webpack/web...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › order › exported tests › should be evaluated in the correct order

    TypeError: Cannot read property './wasm/order/wasm.wat' of undefined

      163 | "use strict";
      164 | // Instantiate WebAssembly module
    > 165 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      166 | 
      167 | // export exports from WebAssembly module
      168 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/order/wasm.wat (test/js/development/wasm/order/bundle.js:165:40)
      at __webpack_require__ (test/js/development/wasm/order/bundle.js:21:30)
      at Module../wasm/order/a.js (test/js/development/wasm/order/bundle.js:58:67)
      at __webpack_require__ (test/js/development/wasm/order/bundle.js:21:30)

  ● TestCases › development › wasm › simple › simple should compile

    Errors while compiling:

    moduleId = ./wasm/simple/wasm.wat?1; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/simple/wasm.wat?1; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/simple/module.js","originIdentifier":"/home/travis/build/webpa...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/simple/wasm.wat?2; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/simple/wasm.wat?2; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/simple/index.js","originIdentifier":"/home/travis/build/webpac...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › simple › exported tests › should allow to run a WebAssembly module (indirect)

    TypeError: Cannot read property './wasm/simple/wasm.wat?1' of undefined

      100 | "use strict";
      101 | // Instantiate WebAssembly module
    > 102 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      103 | 
      104 | // export exports from WebAssembly module
      105 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/simple/wasm.wat?1 (test/js/development/wasm/simple/bundle.js:102:40)
      at __webpack_require__ (test/js/development/wasm/simple/bundle.js:21:30)
      at Module../wasm/simple/module.js (test/js/development/wasm/simple/bundle.js:82:69)
      at __webpack_require__ (test/js/development/wasm/simple/bundle.js:21:30)

  ● TestCases › development › wasm › simple › exported tests › should allow to run a WebAssembly module (direct)

    TypeError: Cannot read property './wasm/simple/wasm.wat?2' of undefined

      122 | "use strict";
      123 | // Instantiate WebAssembly module
    > 124 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      125 | 
      126 | // export exports from WebAssembly module
      127 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/simple/wasm.wat?2 (test/js/development/wasm/simple/bundle.js:124:40)
      at __webpack_require__ (test/js/development/wasm/simple/bundle.js:21:30)

  ● TestCases › development › wasm › table › table should compile

    Errors while compiling:

    moduleId = ./wasm/table/wasm-table-export.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/table/wasm-table-export.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/table/index.js","originIdentifier":"/home/travis/build/webpack...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/table/wasm-table-imported.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/table/wasm-table-imported.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/table/index.js","originIdentifier":"/home/travis/build/webpack...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/table/wasm-table.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/table/wasm-table.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/table/index.js","originIdentifier":"/home/travis/build/webpack...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › table › exported tests › should support tables

    TypeError: Cannot read property './wasm/table/wasm-table.wat' of undefined

      140 | "use strict";
      141 | // Instantiate WebAssembly module
    > 142 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      143 | 
      144 | // export exports from WebAssembly module
      145 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/table/wasm-table.wat (test/js/development/wasm/table/bundle.js:142:40)
      at __webpack_require__ (test/js/development/wasm/table/bundle.js:21:30)

  ● TestCases › development › wasm › table › exported tests › should support exported tables

    TypeError: Cannot read property './wasm/table/wasm-table-export.wat' of undefined

       95 | "use strict";
       96 | // Instantiate WebAssembly module
    >  97 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
       98 | 
       99 | // export exports from WebAssembly module
      100 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/table/wasm-table-export.wat (test/js/development/wasm/table/bundle.js:97:40)
      at __webpack_require__ (test/js/development/wasm/table/bundle.js:21:30)

  ● TestCases › development › wasm › table › exported tests › should support imported tables

    TypeError: Cannot read property './wasm/table/wasm-table-imported.wat' of undefined

      117 | "use strict";
      118 | // Instantiate WebAssembly module
    > 119 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      120 | 
      121 | // export exports from WebAssembly module
      122 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/table/wasm-table-imported.wat (test/js/development/wasm/table/bundle.js:119:40)
      at __webpack_require__ (test/js/development/wasm/table/bundle.js:21:30)

  ● TestCases › development › wasm › two-files-loader › two-files-loader should compile

    Errors while compiling:

    moduleId = ./wasm/two-files-loader/src/wasm.dat.wasm!=!../../node_modules/wast-loader/lib/index.j...; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/two-files-loader/src/wasm.dat.wasm = (webpack)/node_modules/wast-loader/lib!....; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/two-files-loader/wrapper-loader2.js!./wasm/two-files-loader/sr...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/two-files-loader/src/wasm.dat.wat!=!./wasm/two-files-loader/src/wasm.dat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/two-files-loader/src/wasm.dat.wat = ./wasm/two-files-loader/src/wasm.dat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/two-files-loader/wrapper-loader.js!./wasm/two-files-loader/src...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › two-files-loader › exported tests › should be able to create two modules from loader

    TypeError: Cannot read property './wasm/two-files-loader/src/wasm.dat.wat!=!./wasm/two-files-loader/src/wasm.dat' of undefined

       99 | "use strict";
      100 | // Instantiate WebAssembly module
    > 101 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      102 | 
      103 | // export exports from WebAssembly module
      104 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/two-files-loader/src/wasm.dat.wat!=!./wasm/two-files-loader/src/wasm.dat (test/js/development/wasm/two-files-loader/bundle.js:101:40)
      at __webpack_require__ (test/js/development/wasm/two-files-loader/bundle.js:21:30)
      at Module../wasm/two-files-loader/wrapper-loader.js!./wasm/two-files-loader/src/wasm.dat (test/js/development/wasm/two-files-loader/bundle.js:124:80)
      at __webpack_require__ (test/js/development/wasm/two-files-loader/bundle.js:21:30)

  ● TestCases › development › wasm › two-files-loader › exported tests › should be able to create two modules from loader with remaining request

    TypeError: Cannot read property './wasm/two-files-loader/src/wasm.dat.wasm!=!../../node_modules/wast-loader/lib/index.js!./wasm/two-files-loader/src/wasm.dat?2' of undefined

      19 | /******/
      20 | /******/ 		// Execute the module function
    > 21 | /******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
         |          		                  ^
      22 | /******/
      23 | /******/ 		// Flag the module as loaded
      24 | /******/ 		module.l = true;

      at Object../wasm/two-files-loader/src/wasm.dat.wasm!=!../../node_modules/wast-loader/lib/index.js!./wasm/two-files-loader/src/wasm.dat?2 (test/js/development/wasm/two-files-loader/bundle.js:79:40)
      at __webpack_require__ (test/js/development/wasm/two-files-loader/bundle.js:21:30)
      at Module../wasm/two-files-loader/wrapper-loader2.js!./wasm/two-files-loader/src/wasm.dat?2 (test/js/development/wasm/two-files-loader/bundle.js:150:95)
      at __webpack_require__ (test/js/development/wasm/two-files-loader/bundle.js:21:30)

  ● TestCases › development › wasm › unused-export › unused-export should compile

    Errors while compiling:

    moduleId = ./wasm/unused-export/wasm.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/unused-export/wasm.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/unused-export/module.js","originIdentifier":"/home/travis/buil...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › unused-export › exported tests › should allow wasm with unused exports

    TypeError: Cannot read property './wasm/unused-export/wasm.wat' of undefined

      93 | "use strict";
      94 | // Instantiate WebAssembly module
    > 95 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      96 | 
      97 | // export exports from WebAssembly module
      98 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/unused-export/wasm.wat (test/js/development/wasm/unused-export/bundle.js:95:40)
      at __webpack_require__ (test/js/development/wasm/unused-export/bundle.js:21:30)
      at Module../wasm/unused-export/module.js (test/js/development/wasm/unused-export/bundle.js:75:67)
      at __webpack_require__ (test/js/development/wasm/unused-export/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-async › wasm-explorer-examples-async should compile

    Errors while compiling:

    moduleId = ./wasm/wasm-explorer-examples-async/Q_rsqrt.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-asyn...; moduleName = ./wasm/wasm-explorer-examples-async/Q_rsqrt.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-async/index.js","originIdentifier":"/ho...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-async/duff.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-asyn...; moduleName = ./wasm/wasm-explorer-examples-async/duff.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-async/index.js","originIdentifier":"/ho...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-async/fact.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-asyn...; moduleName = ./wasm/wasm-explorer-examples-async/fact.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-async/index.js","originIdentifier":"/ho...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-async/fast-math.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-asyn...; moduleName = ./wasm/wasm-explorer-examples-async/fast-math.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-async/index.js","originIdentifier":"/ho...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-async/popcnt.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-asyn...; moduleName = ./wasm/wasm-explorer-examples-async/popcnt.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-async/index.js","originIdentifier":"/ho...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-async/testFunction.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-asyn...; moduleName = ./wasm/wasm-explorer-examples-async/testFunction.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-async/index.js","originIdentifier":"/ho...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › wasm-explorer-examples-async › exported tests › Q_rsqrt should work

    TypeError: Cannot read property './wasm/wasm-explorer-examples-async/Q_rsqrt.wasm' of undefined

      54 | "use strict";
      55 | // Instantiate WebAssembly module
    > 56 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      57 | 
      58 | // export exports from WebAssembly module
      59 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/wasm-explorer-examples-async/Q_rsqrt.wasm (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:56:40)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-async › exported tests › testFunction should work

    TypeError: Cannot read property './wasm/wasm-explorer-examples-async/testFunction.wasm' of undefined

      248 | "use strict";
      249 | // Instantiate WebAssembly module
    > 250 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      251 | 
      252 | // export exports from WebAssembly module
      253 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/wasm-explorer-examples-async/testFunction.wasm (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:250:40)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-async › exported tests › fact should work

    TypeError: Cannot read property './wasm/wasm-explorer-examples-async/fact.wasm' of undefined

       98 | "use strict";
       99 | // Instantiate WebAssembly module
    > 100 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      101 | 
      102 | // export exports from WebAssembly module
      103 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/wasm-explorer-examples-async/fact.wasm (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:100:40)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-async › exported tests › popcnt should work

    TypeError: Cannot read property './wasm/wasm-explorer-examples-async/popcnt.wasm' of undefined

      226 | "use strict";
      227 | // Instantiate WebAssembly module
    > 228 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      229 | 
      230 | // export exports from WebAssembly module
      231 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/wasm-explorer-examples-async/popcnt.wasm (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:228:40)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-async › exported tests › fast-math should work

    TypeError: Cannot read property './wasm/wasm-explorer-examples-async/fast-math.wasm' of undefined

      120 | "use strict";
      121 | // Instantiate WebAssembly module
    > 122 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      123 | 
      124 | // export exports from WebAssembly module
      125 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/wasm-explorer-examples-async/fast-math.wasm (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:122:40)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-async › exported tests › duff should work

    TypeError: Cannot read property './wasm/wasm-explorer-examples-async/duff.wasm' of undefined

      76 | "use strict";
      77 | // Instantiate WebAssembly module
    > 78 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      79 | 
      80 | // export exports from WebAssembly module
      81 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/wasm-explorer-examples-async/duff.wasm (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:78:40)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-sync › wasm-explorer-examples-sync should compile

    Errors while compiling:

    moduleId = ./wasm/wasm-explorer-examples-sync/Q_rsqrt.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-sync...; moduleName = ./wasm/wasm-explorer-examples-sync/Q_rsqrt.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-sync/tests.js","originIdentifier":"/hom...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-sync/duff.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-sync...; moduleName = ./wasm/wasm-explorer-examples-sync/duff.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-sync/tests.js","originIdentifier":"/hom...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-sync/fact.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-sync...; moduleName = ./wasm/wasm-explorer-examples-sync/fact.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-sync/tests.js","originIdentifier":"/hom...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-sync/fast-math.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-sync...; moduleName = ./wasm/wasm-explorer-examples-sync/fast-math.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-sync/tests.js","originIdentifier":"/hom...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-sync/popcnt.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-sync...; moduleName = ./wasm/wasm-explorer-examples-sync/popcnt.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-sync/tests.js","originIdentifier":"/hom...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-sync/testFunction.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-sync...; moduleName = ./wasm/wasm-explorer-examples-sync/testFunction.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-sync/tests.js","originIdentifier":"/hom...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › wasm-explorer-examples-sync › exported tests › Q_rsqrt should work

    TypeError: Cannot read property './wasm/wasm-explorer-examples-sync/Q_rsqrt.wasm' of undefined

      54 | "use strict";
      55 | // Instantiate WebAssembly module
    > 56 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      57 | 
      58 | // export exports from WebAssembly module
      59 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/wasm-explorer-examples-sync/Q_rsqrt.wasm (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:56:40)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:21:30)
      at Module../wasm/wasm-explorer-examples-sync/tests.js (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:246:71)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-sync › exported tests › testFunction should work

    TypeError: Cannot read property 'memory' of undefined

      264 | 
      265 | function run_testFunction() {
    > 266 | 	const view = new Int32Array(_testFunction_wasm__WEBPACK_IMPORTED_MODULE_1__["memory"].buffer);
          | 	                                                                           ^
      267 | 	view[0] = 123;
      268 | 	view[1] = 1;
      269 | 	view[2] = 2;

      at Module.run_testFunction (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:266:77)
      at Promise.resolve.then.then.t (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:148:159)

  ● TestCases › development › wasm › wasm-explorer-examples-sync › exported tests › fact should work

    TypeError: Cannot read property '_Z4facti' of undefined

      274 | 
      275 | function run_fact() {
    > 276 | 	const result = _fact_wasm__WEBPACK_IMPORTED_MODULE_2__["_Z4facti"](11);
          | 	                                                      ^
      277 | 	expect(result).toEqual(39916800);
      278 | }
      279 | 

      at Module.run_fact (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:276:56)
      at Promise.resolve.then.then.t (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:152:159)

  ● TestCases › development › wasm › wasm-explorer-examples-sync › exported tests › popcnt should work

    TypeError: Cannot read property 'main' of undefined

      279 | 
      280 | function run_popcnt() {
    > 281 | 	expect(_popcnt_wasm__WEBPACK_IMPORTED_MODULE_3__["main"](0xF0F)).toEqual(16);
          | 	                                                ^
      282 | 	expect(_popcnt_wasm__WEBPACK_IMPORTED_MODULE_3__["_Z5countj"](0xF0F)).toEqual(8);
      283 | }
      284 | 

      at Module.run_popcnt (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:281:50)
      at Promise.resolve.then.then.t (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:156:159)

  ● TestCases › development › wasm › wasm-explorer-examples-sync › exported tests › fast-math should work

    TypeError: Cannot read property '_Z3food' of undefined

      284 | 
      285 | function run_fastMath() {
    > 286 | 	expect(_fast_math_wasm__WEBPACK_IMPORTED_MODULE_4__["_Z3food"](42)).toEqual(14);
          | 	                                                   ^
      287 | 	expect(_fast_math_wasm__WEBPACK_IMPORTED_MODULE_4__["_Z9maybe_mindd"](42, 24)).toEqual(24);
      288 | 	expect(_fast_math_wasm__WEBPACK_IMPORTED_MODULE_4__["_Z8call_powd"](42)).toEqual(9682651996416);
      289 | 	expect(_fast_math_wasm__WEBPACK_IMPORTED_MODULE_4__["_Z6do_powd"](42)).toEqual(9682651996416);

      at Module.run_fastMath (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:286:53)
      at Promise.resolve.then.then.t (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:160:159)

  ● TestCases › development › wasm › wasm-explorer-examples-sync › exported tests › duff should work

    TypeError: Cannot read property 'memory' of undefined

      292 | 
      293 | function run_duff() {
    > 294 | 	const view = new Uint8Array(_duff_wasm__WEBPACK_IMPORTED_MODULE_5__["memory"].buffer);
          | 	                                                                   ^
      295 | 	view[0] = 123;
      296 | 	for(let i = 1; i < 100; i++)
      297 | 		view[i] = i;

      at Module.run_duff (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:294:69)
      at Promise.resolve.then.then.t (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:164:159)


Summary of all failing tests
FAIL test/TestCasesDevelopment.test.js (32.815s)
  ● TestCases › development › chunks › inline-options › exported tests › should be able to combine chunks by name

    expect(received).toBe(expected) // Object.is equality

    Expected: false
    Received: true

      791 | 	var syncInitial = true;
      792 | 	var p = Promise.all([load("a"), load("b")]).then(function() {
    > 793 | 		expect(syncInitial).toBe(expectedSyncInitial);
          | 		                    ^
      794 | 		sync = true;
      795 | 		var p = Promise.all([
      796 | 			load("a").then(function(a) {

      at test/js/development/chunks/inline-options/bundle.js:793:23

  ● TestCases › development › chunks › named-chunks › exported tests › should be able to use named chunks in import()

    expect(received).toBeFalsy()

    Received: true

      329 | 		});
      330 | 		Promise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! ./empty?import3-in-chunk2 */ "./chunks/named-chunks/empty.js?import3-in-chunk2", 7)).then(function(result){
    > 331 | 			expect(sync).toBeFalsy();
          | 			             ^
      332 | 			if(i++ > 0) done();
      333 | 		}).catch(function(err){
      334 | 			done(err);

      at test/js/development/chunks/named-chunks/bundle.js:331:17

  ● TestCases › development › chunks › named-chunks › exported tests › should be able to use named chunk in context import()

    expect(received).toBeFalsy()

    Received: true

      353 | 		});
      354 | 		__webpack_require__("./chunks/named-chunks eager recursive ^\\.\\/e.*4$")("./e" + mpty + "4").then(function(result){
    > 355 | 			expect(sync).toBeFalsy();
          | 			             ^
      356 | 			if(i++ > 0) done();
      357 | 		}).catch(function(err){
      358 | 			done(err);

      at test/js/development/chunks/named-chunks/bundle.js:355:17

  ● TestCases › development › chunks › weird-reference-to-entry › weird-reference-to-entry should compile

    Less errors while compiling than expected:

    . Check expected errors: /home/travis/build/webpack/webpack/test/cases/chunks/weird-reference-to-entry/errors.js

      67 | 			return (
      68 | 				done(
    > 69 | 					new Error(
         | 					^
      70 | 						`Less ${kind}s while compiling than expected:\n\n${array.map(explain).join(
      71 | 							"\n\n"
      72 | 						)}. Check expected ${kind}s: ${expectedFilename}`

      at checkArrayExpectation (test/checkArrayExpectation.js:69:6)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (eval at create (node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (eval at create (node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (eval at create (node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › decoding › decoding should compile

    Errors while compiling:

    moduleId = ./wasm/decoding/memory2.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/decoding/memory2.wasm; moduleName = ./wasm/decoding/memory2.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/decoding/index.js","originIdentifier":"/home/travis/build/webp...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/decoding/memory3.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/decoding/memory3.wasm; moduleName = ./wasm/decoding/memory3.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/decoding/index.js","originIdentifier":"/home/travis/build/webp...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › decoding › exported tests › should support wasm compiled from c++

    TypeError: Cannot read property './wasm/decoding/memory3.wasm' of undefined

      101 | "use strict";
      102 | // Instantiate WebAssembly module
    > 103 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      104 | 
      105 | // export exports from WebAssembly module
      106 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/decoding/memory3.wasm (test/js/development/wasm/decoding/bundle.js:103:40)
      at __webpack_require__ (test/js/development/wasm/decoding/bundle.js:21:30)

  ● TestCases › development › wasm › decoding › exported tests › should raw memory export without data

    TypeError: Cannot read property './wasm/decoding/memory2.wasm' of undefined

      79 | "use strict";
      80 | // Instantiate WebAssembly module
    > 81 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      82 | 
      83 | // export exports from WebAssembly module
      84 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/decoding/memory2.wasm (test/js/development/wasm/decoding/bundle.js:81:40)
      at __webpack_require__ (test/js/development/wasm/decoding/bundle.js:21:30)

  ● TestCases › development › wasm › export-imported-global › export-imported-global should compile

    Errors while compiling:

    moduleId = ./wasm/export-imported-global/module.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/export-imported-global/module.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/export-imported-global/module.js","originIdentifier":"/home/tr...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › export-imported-global › exported tests › should export imported global

    TypeError: Cannot read property './wasm/export-imported-global/module.wat' of undefined

      122 | "use strict";
      123 | // Instantiate WebAssembly module
    > 124 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      125 | 
      126 | // export exports from WebAssembly module
      127 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/export-imported-global/module.wat (test/js/development/wasm/export-imported-global/bundle.js:124:40)
      at __webpack_require__ (test/js/development/wasm/export-imported-global/bundle.js:21:30)
      at Module../wasm/export-imported-global/module.js (test/js/development/wasm/export-imported-global/bundle.js:108:69)
      at __webpack_require__ (test/js/development/wasm/export-imported-global/bundle.js:21:30)

  ● TestCases › development › wasm › finalize-exports-issue-8261 › finalize-exports-issue-8261 should compile

    Errors while compiling:

    moduleId = ./wasm/finalize-exports-issue-8261/node_modules/side-effect-free/module.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/finalize-exports-issue-8261/node_modules/side-effect-free/module.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/finalize-exports-issue-8261/node_modules/side-effect-free/inde...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › global-refs-imported-global › global-refs-imported-global should compile

    Errors while compiling:

    moduleId = ./wasm/global-refs-imported-global/module.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/global-refs-imported-global/module.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/global-refs-imported-global/index.js","originIdentifier":"/hom...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › global-refs-imported-global › exported tests › should allow global with imported global as initilizer

    TypeError: Cannot read property './wasm/global-refs-imported-global/module.wat' of undefined

      87 | "use strict";
      88 | // Instantiate WebAssembly module
    > 89 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      90 | 
      91 | // export exports from WebAssembly module
      92 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/global-refs-imported-global/module.wat (test/js/development/wasm/global-refs-imported-global/bundle.js:89:40)
      at __webpack_require__ (test/js/development/wasm/global-refs-imported-global/bundle.js:21:30)

  ● TestCases › development › wasm › import-wasm-wasm › import-wasm-wasm should compile

    Errors while compiling:

    moduleId = ./wasm/import-wasm-wasm/wasm.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/import-wasm-wasm/wasm.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/import-wasm-wasm/index.js","originIdentifier":"/home/travis/bu...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/import-wasm-wasm/wasm2.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/import-wasm-wasm/wasm2.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/import-wasm-wasm/wasm.wat","originIdentifier":"/home/travis/bu...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › import-wasm-wasm › exported tests › should allow to run a WebAssembly module with imports

    TypeError: Cannot read property './wasm/import-wasm-wasm/wasm.wat' of undefined

      70 | "use strict";
      71 | // Instantiate WebAssembly module
    > 72 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      73 | 
      74 | // export exports from WebAssembly module
      75 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/import-wasm-wasm/wasm.wat (test/js/development/wasm/import-wasm-wasm/bundle.js:72:40)
      at __webpack_require__ (test/js/development/wasm/import-wasm-wasm/bundle.js:21:30)

  ● TestCases › development › wasm › imported-global-preserve-ordering › imported-global-preserve-ordering should compile

    Errors while compiling:

    moduleId = ./wasm/imported-global-preserve-ordering/module.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/imported-global-preserve-ordering/module.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imported-global-preserve-ordering/index.js","originIdentifier"...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › imported-global-preserve-ordering › exported tests › should preserve the ordering of globals

    TypeError: Cannot read property './wasm/imported-global-preserve-ordering/module.wat' of undefined

       98 | "use strict";
       99 | // Instantiate WebAssembly module
    > 100 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      101 | 
      102 | // export exports from WebAssembly module
      103 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/imported-global-preserve-ordering/module.wat (test/js/development/wasm/imported-global-preserve-ordering/bundle.js:100:40)
      at __webpack_require__ (test/js/development/wasm/imported-global-preserve-ordering/bundle.js:21:30)

  ● TestCases › development › wasm › imported-global-preserve-type › imported-global-preserve-type should compile

    Errors while compiling:

    moduleId = ./wasm/imported-global-preserve-type/module.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/imported-global-preserve-type/module.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imported-global-preserve-type/index.js","originIdentifier":"/h...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › imported-global-preserve-type › exported tests › should preserve the valtype of the imported global

    TypeError: Cannot read property './wasm/imported-global-preserve-type/module.wat' of undefined

      87 | "use strict";
      88 | // Instantiate WebAssembly module
    > 89 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      90 | 
      91 | // export exports from WebAssembly module
      92 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/imported-global-preserve-type/module.wat (test/js/development/wasm/imported-global-preserve-type/bundle.js:89:40)
      at __webpack_require__ (test/js/development/wasm/imported-global-preserve-type/bundle.js:21:30)

  ● TestCases › development › wasm › imports › imports should compile

    Errors while compiling:

    moduleId = ./wasm/imports/wasm.wat?1; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/imports/wasm.wat?1; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports/index.js","originIdentifier":"/home/travis/build/webpa...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › imports › exported tests › should allow to run a WebAssembly module with imports

    TypeError: Cannot read property './wasm/imports/wasm.wat?1' of undefined

      90 | "use strict";
      91 | // Instantiate WebAssembly module
    > 92 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      93 | 
      94 | // export exports from WebAssembly module
      95 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/imports/wasm.wat?1 (test/js/development/wasm/imports/bundle.js:92:40)
      at __webpack_require__ (test/js/development/wasm/imports/bundle.js:21:30)

  ● TestCases › development › wasm › imports-circular › imports-circular should compile

    Errors while compiling:

    moduleId = ./wasm/imports-circular/wasm.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/imports-circular/wasm.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports-circular/module.js","originIdentifier":"/home/travis/b...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › imports-circular › exported tests › should allow to run a WebAssembly module importing JS circular

    TypeError: Cannot read property './wasm/imports-circular/wasm.wat' of undefined

       95 | "use strict";
       96 | // Instantiate WebAssembly module
    >  97 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
       98 | 
       99 | // export exports from WebAssembly module
      100 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/imports-circular/wasm.wat (test/js/development/wasm/imports-circular/bundle.js:97:40)
      at __webpack_require__ (test/js/development/wasm/imports-circular/bundle.js:21:30)
      at Module../wasm/imports-circular/module.js (test/js/development/wasm/imports-circular/bundle.js:75:67)
      at __webpack_require__ (test/js/development/wasm/imports-circular/bundle.js:21:30)

  ● TestCases › development › wasm › imports-complex-types › imports-complex-types should compile

    Errors while compiling:

    moduleId = ./wasm/imports-complex-types/other.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/imports-complex-types/other...; moduleName = ./wasm/imports-complex-types/other.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports-complex-types/wasm.wasm","originIdentifier":"/home/tra...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/imports-complex-types/wasm.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/imports-complex-types/wasm....; moduleName = ./wasm/imports-complex-types/wasm.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports-complex-types/index.js","originIdentifier":"/home/trav...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › imports-complex-types › exported tests › should allow to run a WebAssembly module with non-js-compatible imports

    TypeError: Cannot read property './wasm/imports-complex-types/wasm.wasm' of undefined

      92 | "use strict";
      93 | // Instantiate WebAssembly module
    > 94 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      95 | 
      96 | // export exports from WebAssembly module
      97 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/imports-complex-types/wasm.wasm (test/js/development/wasm/imports-complex-types/bundle.js:94:40)
      at __webpack_require__ (test/js/development/wasm/imports-complex-types/bundle.js:21:30)

  ● TestCases › development › wasm › imports-many-direct › imports-many-direct should compile

    Errors while compiling:

    moduleId = ./wasm/imports-many-direct/other1.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/imports-many-direct/other1.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports-many-direct/wasm.wat","originIdentifier":"/home/travis...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/imports-many-direct/other2.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/imports-many-direct/other2.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports-many-direct/wasm.wat","originIdentifier":"/home/travis...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/imports-many-direct/wasm.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/imports-many-direct/wasm.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports-many-direct/index.js","originIdentifier":"/home/travis...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › imports-many-direct › exported tests › should allow to run a WebAssembly module with many direct wasm dependencies

    TypeError: Cannot read property './wasm/imports-many-direct/wasm.wat' of undefined

      114 | "use strict";
      115 | // Instantiate WebAssembly module
    > 116 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      117 | 
      118 | // export exports from WebAssembly module
      119 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/imports-many-direct/wasm.wat (test/js/development/wasm/imports-many-direct/bundle.js:116:40)
      at __webpack_require__ (test/js/development/wasm/imports-many-direct/bundle.js:21:30)

  ● TestCases › development › wasm › imports-multiple › imports-multiple should compile

    Errors while compiling:

    moduleId = ./wasm/imports-multiple/wasm.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/imports-multiple/wasm.wasm; moduleName = ./wasm/imports-multiple/wasm.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/imports-multiple/module.js","originIdentifier":"/home/travis/b...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › imports-multiple › exported tests › should allow to run a WebAssembly module importing from multiple modules

    TypeError: Cannot read property './wasm/imports-multiple/wasm.wasm' of undefined

      116 | "use strict";
      117 | // Instantiate WebAssembly module
    > 118 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      119 | 
      120 | // export exports from WebAssembly module
      121 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/imports-multiple/wasm.wasm (test/js/development/wasm/imports-multiple/bundle.js:118:40)
      at __webpack_require__ (test/js/development/wasm/imports-multiple/bundle.js:21:30)
      at Module../wasm/imports-multiple/module.js (test/js/development/wasm/imports-multiple/bundle.js:75:68)
      at __webpack_require__ (test/js/development/wasm/imports-multiple/bundle.js:21:30)

  ● TestCases › development › wasm › memory › memory should compile

    Errors while compiling:

    moduleId = ./wasm/memory/mem-access.wat?1; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/memory/mem-access.wat?1; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/memory/run.js","originIdentifier":"/home/travis/build/webpack/...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/memory/mem-access.wat?2; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/memory/mem-access.wat?2; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/memory/run.js","originIdentifier":"/home/travis/build/webpack/...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/memory/memory.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/memory/memory.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/memory/mem-access.wat?2","originIdentifier":"/home/travis/buil...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › memory › exported tests › should allow direct memory connection between wasm modules

    TypeError: Cannot read property './wasm/memory/mem-access.wat?1' of undefined

      74 | "use strict";
      75 | // Instantiate WebAssembly module
    > 76 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      77 | 
      78 | // export exports from WebAssembly module
      79 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/memory/mem-access.wat?1 (test/js/development/wasm/memory/bundle.js:76:40)
      at __webpack_require__ (test/js/development/wasm/memory/bundle.js:21:30)
      at Module../wasm/memory/run.js (test/js/development/wasm/memory/bundle.js:148:75)
      at __webpack_require__ (test/js/development/wasm/memory/bundle.js:21:30)

  ● TestCases › development › wasm › order › order should compile

    Errors while compiling:

    moduleId = ./wasm/order/wasm.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/order/wasm.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/order/a.js","originIdentifier":"/home/travis/build/webpack/web...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › order › exported tests › should be evaluated in the correct order

    TypeError: Cannot read property './wasm/order/wasm.wat' of undefined

      163 | "use strict";
      164 | // Instantiate WebAssembly module
    > 165 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      166 | 
      167 | // export exports from WebAssembly module
      168 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/order/wasm.wat (test/js/development/wasm/order/bundle.js:165:40)
      at __webpack_require__ (test/js/development/wasm/order/bundle.js:21:30)
      at Module../wasm/order/a.js (test/js/development/wasm/order/bundle.js:58:67)
      at __webpack_require__ (test/js/development/wasm/order/bundle.js:21:30)

  ● TestCases › development › wasm › simple › simple should compile

    Errors while compiling:

    moduleId = ./wasm/simple/wasm.wat?1; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/simple/wasm.wat?1; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/simple/module.js","originIdentifier":"/home/travis/build/webpa...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/simple/wasm.wat?2; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/simple/wasm.wat?2; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/simple/index.js","originIdentifier":"/home/travis/build/webpac...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › simple › exported tests › should allow to run a WebAssembly module (indirect)

    TypeError: Cannot read property './wasm/simple/wasm.wat?1' of undefined

      100 | "use strict";
      101 | // Instantiate WebAssembly module
    > 102 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      103 | 
      104 | // export exports from WebAssembly module
      105 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/simple/wasm.wat?1 (test/js/development/wasm/simple/bundle.js:102:40)
      at __webpack_require__ (test/js/development/wasm/simple/bundle.js:21:30)
      at Module../wasm/simple/module.js (test/js/development/wasm/simple/bundle.js:82:69)
      at __webpack_require__ (test/js/development/wasm/simple/bundle.js:21:30)

  ● TestCases › development › wasm › simple › exported tests › should allow to run a WebAssembly module (direct)

    TypeError: Cannot read property './wasm/simple/wasm.wat?2' of undefined

      122 | "use strict";
      123 | // Instantiate WebAssembly module
    > 124 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      125 | 
      126 | // export exports from WebAssembly module
      127 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/simple/wasm.wat?2 (test/js/development/wasm/simple/bundle.js:124:40)
      at __webpack_require__ (test/js/development/wasm/simple/bundle.js:21:30)

  ● TestCases › development › wasm › table › table should compile

    Errors while compiling:

    moduleId = ./wasm/table/wasm-table-export.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/table/wasm-table-export.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/table/index.js","originIdentifier":"/home/travis/build/webpack...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/table/wasm-table-imported.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/table/wasm-table-imported.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/table/index.js","originIdentifier":"/home/travis/build/webpack...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/table/wasm-table.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/table/wasm-table.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/table/index.js","originIdentifier":"/home/travis/build/webpack...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › table › exported tests › should support tables

    TypeError: Cannot read property './wasm/table/wasm-table.wat' of undefined

      140 | "use strict";
      141 | // Instantiate WebAssembly module
    > 142 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      143 | 
      144 | // export exports from WebAssembly module
      145 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/table/wasm-table.wat (test/js/development/wasm/table/bundle.js:142:40)
      at __webpack_require__ (test/js/development/wasm/table/bundle.js:21:30)

  ● TestCases › development › wasm › table › exported tests › should support exported tables

    TypeError: Cannot read property './wasm/table/wasm-table-export.wat' of undefined

       95 | "use strict";
       96 | // Instantiate WebAssembly module
    >  97 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
       98 | 
       99 | // export exports from WebAssembly module
      100 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/table/wasm-table-export.wat (test/js/development/wasm/table/bundle.js:97:40)
      at __webpack_require__ (test/js/development/wasm/table/bundle.js:21:30)

  ● TestCases › development › wasm › table › exported tests › should support imported tables

    TypeError: Cannot read property './wasm/table/wasm-table-imported.wat' of undefined

      117 | "use strict";
      118 | // Instantiate WebAssembly module
    > 119 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      120 | 
      121 | // export exports from WebAssembly module
      122 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/table/wasm-table-imported.wat (test/js/development/wasm/table/bundle.js:119:40)
      at __webpack_require__ (test/js/development/wasm/table/bundle.js:21:30)

  ● TestCases › development › wasm › two-files-loader › two-files-loader should compile

    Errors while compiling:

    moduleId = ./wasm/two-files-loader/src/wasm.dat.wasm!=!../../node_modules/wast-loader/lib/index.j...; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/two-files-loader/src/wasm.dat.wasm = (webpack)/node_modules/wast-loader/lib!....; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/two-files-loader/wrapper-loader2.js!./wasm/two-files-loader/sr...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/two-files-loader/src/wasm.dat.wat!=!./wasm/two-files-loader/src/wasm.dat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/two-files-loader/src/wasm.dat.wat = ./wasm/two-files-loader/src/wasm.dat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/two-files-loader/wrapper-loader.js!./wasm/two-files-loader/src...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › two-files-loader › exported tests › should be able to create two modules from loader

    TypeError: Cannot read property './wasm/two-files-loader/src/wasm.dat.wat!=!./wasm/two-files-loader/src/wasm.dat' of undefined

       99 | "use strict";
      100 | // Instantiate WebAssembly module
    > 101 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      102 | 
      103 | // export exports from WebAssembly module
      104 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/two-files-loader/src/wasm.dat.wat!=!./wasm/two-files-loader/src/wasm.dat (test/js/development/wasm/two-files-loader/bundle.js:101:40)
      at __webpack_require__ (test/js/development/wasm/two-files-loader/bundle.js:21:30)
      at Module../wasm/two-files-loader/wrapper-loader.js!./wasm/two-files-loader/src/wasm.dat (test/js/development/wasm/two-files-loader/bundle.js:124:80)
      at __webpack_require__ (test/js/development/wasm/two-files-loader/bundle.js:21:30)

  ● TestCases › development › wasm › two-files-loader › exported tests › should be able to create two modules from loader with remaining request

    TypeError: Cannot read property './wasm/two-files-loader/src/wasm.dat.wasm!=!../../node_modules/wast-loader/lib/index.js!./wasm/two-files-loader/src/wasm.dat?2' of undefined

      19 | /******/
      20 | /******/ 		// Execute the module function
    > 21 | /******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
         |          		                  ^
      22 | /******/
      23 | /******/ 		// Flag the module as loaded
      24 | /******/ 		module.l = true;

      at Object../wasm/two-files-loader/src/wasm.dat.wasm!=!../../node_modules/wast-loader/lib/index.js!./wasm/two-files-loader/src/wasm.dat?2 (test/js/development/wasm/two-files-loader/bundle.js:79:40)
      at __webpack_require__ (test/js/development/wasm/two-files-loader/bundle.js:21:30)
      at Module../wasm/two-files-loader/wrapper-loader2.js!./wasm/two-files-loader/src/wasm.dat?2 (test/js/development/wasm/two-files-loader/bundle.js:150:95)
      at __webpack_require__ (test/js/development/wasm/two-files-loader/bundle.js:21:30)

  ● TestCases › development › wasm › unused-export › unused-export should compile

    Errors while compiling:

    moduleId = ./wasm/unused-export/wasm.wat; moduleIdentifier = /home/travis/build/webpack/webpack/node_modules/wast-loader/lib/index.js!/home...; moduleName = ./wasm/unused-export/wasm.wat; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/unused-export/module.js","originIdentifier":"/home/travis/buil...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › unused-export › exported tests › should allow wasm with unused exports

    TypeError: Cannot read property './wasm/unused-export/wasm.wat' of undefined

      93 | "use strict";
      94 | // Instantiate WebAssembly module
    > 95 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      96 | 
      97 | // export exports from WebAssembly module
      98 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/unused-export/wasm.wat (test/js/development/wasm/unused-export/bundle.js:95:40)
      at __webpack_require__ (test/js/development/wasm/unused-export/bundle.js:21:30)
      at Module../wasm/unused-export/module.js (test/js/development/wasm/unused-export/bundle.js:75:67)
      at __webpack_require__ (test/js/development/wasm/unused-export/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-async › wasm-explorer-examples-async should compile

    Errors while compiling:

    moduleId = ./wasm/wasm-explorer-examples-async/Q_rsqrt.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-asyn...; moduleName = ./wasm/wasm-explorer-examples-async/Q_rsqrt.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-async/index.js","originIdentifier":"/ho...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-async/duff.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-asyn...; moduleName = ./wasm/wasm-explorer-examples-async/duff.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-async/index.js","originIdentifier":"/ho...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-async/fact.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-asyn...; moduleName = ./wasm/wasm-explorer-examples-async/fact.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-async/index.js","originIdentifier":"/ho...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-async/fast-math.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-asyn...; moduleName = ./wasm/wasm-explorer-examples-async/fast-math.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-async/index.js","originIdentifier":"/ho...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-async/popcnt.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-asyn...; moduleName = ./wasm/wasm-explorer-examples-async/popcnt.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-async/index.js","originIdentifier":"/ho...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-async/testFunction.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-asyn...; moduleName = ./wasm/wasm-explorer-examples-async/testFunction.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-async/index.js","originIdentifier":"/ho...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › wasm-explorer-examples-async › exported tests › Q_rsqrt should work

    TypeError: Cannot read property './wasm/wasm-explorer-examples-async/Q_rsqrt.wasm' of undefined

      54 | "use strict";
      55 | // Instantiate WebAssembly module
    > 56 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      57 | 
      58 | // export exports from WebAssembly module
      59 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/wasm-explorer-examples-async/Q_rsqrt.wasm (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:56:40)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-async › exported tests › testFunction should work

    TypeError: Cannot read property './wasm/wasm-explorer-examples-async/testFunction.wasm' of undefined

      248 | "use strict";
      249 | // Instantiate WebAssembly module
    > 250 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      251 | 
      252 | // export exports from WebAssembly module
      253 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/wasm-explorer-examples-async/testFunction.wasm (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:250:40)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-async › exported tests › fact should work

    TypeError: Cannot read property './wasm/wasm-explorer-examples-async/fact.wasm' of undefined

       98 | "use strict";
       99 | // Instantiate WebAssembly module
    > 100 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      101 | 
      102 | // export exports from WebAssembly module
      103 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/wasm-explorer-examples-async/fact.wasm (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:100:40)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-async › exported tests › popcnt should work

    TypeError: Cannot read property './wasm/wasm-explorer-examples-async/popcnt.wasm' of undefined

      226 | "use strict";
      227 | // Instantiate WebAssembly module
    > 228 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      229 | 
      230 | // export exports from WebAssembly module
      231 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/wasm-explorer-examples-async/popcnt.wasm (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:228:40)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-async › exported tests › fast-math should work

    TypeError: Cannot read property './wasm/wasm-explorer-examples-async/fast-math.wasm' of undefined

      120 | "use strict";
      121 | // Instantiate WebAssembly module
    > 122 | var wasmExports = __webpack_require__.w[module.i];
          |                                        ^
      123 | 
      124 | // export exports from WebAssembly module
      125 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/wasm-explorer-examples-async/fast-math.wasm (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:122:40)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-async › exported tests › duff should work

    TypeError: Cannot read property './wasm/wasm-explorer-examples-async/duff.wasm' of undefined

      76 | "use strict";
      77 | // Instantiate WebAssembly module
    > 78 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      79 | 
      80 | // export exports from WebAssembly module
      81 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/wasm-explorer-examples-async/duff.wasm (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:78:40)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-async/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-sync › wasm-explorer-examples-sync should compile

    Errors while compiling:

    moduleId = ./wasm/wasm-explorer-examples-sync/Q_rsqrt.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-sync...; moduleName = ./wasm/wasm-explorer-examples-sync/Q_rsqrt.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-sync/tests.js","originIdentifier":"/hom...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-sync/duff.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-sync...; moduleName = ./wasm/wasm-explorer-examples-sync/duff.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-sync/tests.js","originIdentifier":"/hom...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-sync/fact.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-sync...; moduleName = ./wasm/wasm-explorer-examples-sync/fact.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-sync/tests.js","originIdentifier":"/hom...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-sync/fast-math.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-sync...; moduleName = ./wasm/wasm-explorer-examples-sync/fast-math.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-sync/tests.js","originIdentifier":"/hom...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-sync/popcnt.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-sync...; moduleName = ./wasm/wasm-explorer-examples-sync/popcnt.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-sync/tests.js","originIdentifier":"/hom...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

    moduleId = ./wasm/wasm-explorer-examples-sync/testFunction.wasm; moduleIdentifier = /home/travis/build/webpack/webpack/test/cases/wasm/wasm-explorer-examples-sync...; moduleName = ./wasm/wasm-explorer-examples-sync/testFunction.wasm; message = WebAssembly module is included in initial chunk.
    This is not allowed, because WebAssemb...; moduleTrace = [{"originId":"./wasm/wasm-explorer-examples-sync/tests.js","originIdentifier":"/hom...; details = undefined; stack = WebAssemblyInInitialChunkError: WebAssembly module is included in initial chunk.
    This is ...; missing = undefined

      107 | 		return (
      108 | 			done(
    > 109 | 				new Error(`${upperCaseKind}s while compiling:\n\n${array.map(explain).join("\n\n")}`)
          | 				^
      110 | 			),
      111 | 			true
      112 | 		);

      at checkArrayExpectation (test/checkArrayExpectation.js:109:5)
      at compiler.close.err (test/TestCases.template.js:220:14)
      at AsyncParallelHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncParallelHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at Cache.shutdown (lib/Cache.js:962:23)
      at Compiler.close (lib/Compiler.js:7187:14)
      at compiler.run (test/TestCases.template.js:204:21)
      at finalCallback (lib/Compiler.js:6330:13)
      at hooks.done.callAsync.err (lib/Compiler.js:6468:15)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:6:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at emitRecords.err (lib/Compiler.js:6457:23)
      at Compiler.emitRecords (lib/Compiler.js:6808:12)
      at emitAssets.err (lib/Compiler.js:6441:11)
      at hooks.afterEmit.callAsync.err (lib/Compiler.js:6774:13)
      at AsyncSeriesHook.eval [as callAsync] (<anonymous>:15:1)
      at AsyncSeriesHook.lazyCompileHook (node_modules/tapable/lib/Hook.js:154:20)
      at asyncLib.forEachLimit.err (lib/Compiler.js:6763:26)
      at node_modules/neo-async/async.js:2805:7
      at done (node_modules/neo-async/async.js:3495:9)
      at outputFileSystem.writeFile.err (lib/Compiler.js:6735:7)
      at node_modules/graceful-fs/graceful-fs.js:45:10

  ● TestCases › development › wasm › wasm-explorer-examples-sync › exported tests › Q_rsqrt should work

    TypeError: Cannot read property './wasm/wasm-explorer-examples-sync/Q_rsqrt.wasm' of undefined

      54 | "use strict";
      55 | // Instantiate WebAssembly module
    > 56 | var wasmExports = __webpack_require__.w[module.i];
         |                                        ^
      57 | 
      58 | // export exports from WebAssembly module
      59 | for(var name in wasmExports) if(name != "__webpack_init__") exports[name] = wasmExports[name];

      at Object../wasm/wasm-explorer-examples-sync/Q_rsqrt.wasm (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:56:40)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:21:30)
      at Module../wasm/wasm-explorer-examples-sync/tests.js (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:246:71)
      at __webpack_require__ (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:21:30)

  ● TestCases › development › wasm › wasm-explorer-examples-sync › exported tests › testFunction should work

    TypeError: Cannot read property 'memory' of undefined

      264 | 
      265 | function run_testFunction() {
    > 266 | 	const view = new Int32Array(_testFunction_wasm__WEBPACK_IMPORTED_MODULE_1__["memory"].buffer);
          | 	                                                                           ^
      267 | 	view[0] = 123;
      268 | 	view[1] = 1;
      269 | 	view[2] = 2;

      at Module.run_testFunction (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:266:77)
      at Promise.resolve.then.then.t (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:148:159)

  ● TestCases › development › wasm › wasm-explorer-examples-sync › exported tests › fact should work

    TypeError: Cannot read property '_Z4facti' of undefined

      274 | 
      275 | function run_fact() {
    > 276 | 	const result = _fact_wasm__WEBPACK_IMPORTED_MODULE_2__["_Z4facti"](11);
          | 	                                                      ^
      277 | 	expect(result).toEqual(39916800);
      278 | }
      279 | 

      at Module.run_fact (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:276:56)
      at Promise.resolve.then.then.t (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:152:159)

  ● TestCases › development › wasm › wasm-explorer-examples-sync › exported tests › popcnt should work

    TypeError: Cannot read property 'main' of undefined

      279 | 
      280 | function run_popcnt() {
    > 281 | 	expect(_popcnt_wasm__WEBPACK_IMPORTED_MODULE_3__["main"](0xF0F)).toEqual(16);
          | 	                                                ^
      282 | 	expect(_popcnt_wasm__WEBPACK_IMPORTED_MODULE_3__["_Z5countj"](0xF0F)).toEqual(8);
      283 | }
      284 | 

      at Module.run_popcnt (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:281:50)
      at Promise.resolve.then.then.t (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:156:159)

  ● TestCases › development › wasm › wasm-explorer-examples-sync › exported tests › fast-math should work

    TypeError: Cannot read property '_Z3food' of undefined

      284 | 
      285 | function run_fastMath() {
    > 286 | 	expect(_fast_math_wasm__WEBPACK_IMPORTED_MODULE_4__["_Z3food"](42)).toEqual(14);
          | 	                                                   ^
      287 | 	expect(_fast_math_wasm__WEBPACK_IMPORTED_MODULE_4__["_Z9maybe_mindd"](42, 24)).toEqual(24);
      288 | 	expect(_fast_math_wasm__WEBPACK_IMPORTED_MODULE_4__["_Z8call_powd"](42)).toEqual(9682651996416);
      289 | 	expect(_fast_math_wasm__WEBPACK_IMPORTED_MODULE_4__["_Z6do_powd"](42)).toEqual(9682651996416);

      at Module.run_fastMath (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:286:53)
      at Promise.resolve.then.then.t (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:160:159)

  ● TestCases › development › wasm › wasm-explorer-examples-sync › exported tests › duff should work

    TypeError: Cannot read property 'memory' of undefined

      292 | 
      293 | function run_duff() {
    > 294 | 	const view = new Uint8Array(_duff_wasm__WEBPACK_IMPORTED_MODULE_5__["memory"].buffer);
          | 	                                                                   ^
      295 | 	view[0] = 123;
      296 | 	for(let i = 1; i < 100; i++)
      297 | 		view[i] = i;

      at Module.run_duff (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:294:69)
      at Promise.resolve.then.then.t (test/js/development/wasm/wasm-explorer-examples-sync/bundle.js:164:159)
Test Suites: 1 failed, 4 skipped, 37 passed, 38 of 42 total
Tests:       58 failed, 185 skipped, 24164 passed, 24407 total
Snapshots:   118 passed, 118 total
Time:        597.113s

See complete report here.

@TheLarkInn
Copy link
Member Author

@ooflorent did fixing initial errors find more errors? lol

@TheLarkInn
Copy link
Member Author

So I will have to approach this PR different.

Reaons:

  1. WebAssembly requires async chunks based on our archetecture for generating chunks / assets via manifest.
  2. We can't break WASM in Dev Mode (which this PR does)

Alternative:

  1. Have this be an opt in feature for those who would want to turn it on via config for their dev mode. This way, the capability is still possible however users will know that it breaks WASM in Development mode.

@sokra
@ooflorent

thoughts?

@MLoughry
Copy link
Contributor

This change is an incredible win for build performance on our project. Even if it's purely opt-in, I'm really looking forward to it.

@EduardoRFS
Copy link

@TheLarkInn can't we have for now it opt-in only? Or "if is wasm go lazy", being realistic we don't use wasm but the performance boost that we get in that is huge

@sibelius
Copy link

sibelius commented Mar 28, 2019

If you want to solve this on development right now on webpack 4

try this patch-package https://gist.github.com/sibelius/baf12454c371e9d6c728376c39d9f1e0

I do recommend to only apply the patch on development, not sure about production builds effects

this will break hot reload, but it will rebuild faster

@sokra sokra removed the PR: next label Dec 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[webpack-5] Default webpackMode to "eager" in mode: "development"
8 participants