()
| 1378 | } |
| 1379 | |
| 1380 | createNormalModuleFactory() { |
| 1381 | this._cleanupLastNormalModuleFactory(); |
| 1382 | const normalModuleFactory = new NormalModuleFactory({ |
| 1383 | context: this.options.context, |
| 1384 | fs: /** @type {InputFileSystem} */ (this.inputFileSystem), |
| 1385 | resolverFactory: this.resolverFactory, |
| 1386 | options: this.options.module, |
| 1387 | associatedObjectForCache: this.root |
| 1388 | }); |
| 1389 | this._lastNormalModuleFactory = normalModuleFactory; |
| 1390 | this.hooks.normalModuleFactory.call(normalModuleFactory); |
| 1391 | return normalModuleFactory; |
| 1392 | } |
| 1393 | |
| 1394 | createContextModuleFactory() { |
| 1395 | const contextModuleFactory = new ContextModuleFactory(this.resolverFactory); |
no test coverage detected