({bundle, code, sourceCode, sourcePath, map, virtual, polyfill, meta, id = ''})
| 398 | } |
| 399 | |
| 400 | function addModule({bundle, code, sourceCode, sourcePath, map, virtual, polyfill, meta, id = ''}) { |
| 401 | return bundle.addModule( |
| 402 | resolverFor(code, map), |
| 403 | null, |
| 404 | {isPolyfill: () => polyfill}, |
| 405 | createModuleTransport({ |
| 406 | code, |
| 407 | sourceCode, |
| 408 | sourcePath, |
| 409 | id, |
| 410 | map, |
| 411 | meta, |
| 412 | virtual, |
| 413 | polyfill, |
| 414 | }), |
| 415 | ); |
| 416 | } |
| 417 | |
| 418 | function createModuleTransport(data) { |
| 419 | return new ModuleTransport({ |
no test coverage detected
searching dependent graphs…