webpack 4.17.0 → 4.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1447,9 +1447,9 @@ class HarmonyExportImportedSpecifierDependencyConcatenatedTemplate {
1447
1447
  if (!used) {
1448
1448
  source.insert(
1449
1449
  -1,
1450
- `/* unused concated harmony import ${dep.name} */\n`
1450
+ `/* unused concated harmony import ${def.name} */\n`
1451
1451
  );
1452
- return;
1452
+ continue;
1453
1453
  }
1454
1454
  let finalName;
1455
1455
  const strictFlag = dep.originModule.buildMeta.strictHarmonyModule
@@ -1466,9 +1466,11 @@ class HarmonyExportImportedSpecifierDependencyConcatenatedTemplate {
1466
1466
  }_${exportData}${strictFlag}__`;
1467
1467
  }
1468
1468
  const exportsName = this.rootModule.exportsArgument;
1469
- const content = `/* concated harmony reexport */__webpack_require__.d(${exportsName}, ${JSON.stringify(
1470
- used
1471
- )}, function() { return ${finalName}; });\n`;
1469
+ const content =
1470
+ `/* concated harmony reexport ${def.name} */` +
1471
+ `__webpack_require__.d(${exportsName}, ` +
1472
+ `${JSON.stringify(used)}, ` +
1473
+ `function() { return ${finalName}; });\n`;
1472
1474
  source.insert(-1, content);
1473
1475
  }
1474
1476
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webpack",
3
- "version": "4.17.0",
3
+ "version": "4.17.1",
4
4
  "author": "Tobias Koppers @sokra",
5
5
  "description": "Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.",
6
6
  "license": "MIT",