Skip to content

Commit 1f6cc09

Browse files
committed
fixed duplicate export
1 parent 69d0d2e commit 1f6cc09

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/dependencies/HarmonyExportImportedSpecifierDependency.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ HarmonyExportImportedSpecifierDependency.Template.prototype.apply = function(dep
9797
else
9898
content += "if(__WEBPACK_IMPORT_KEY__ !== 'default') ";
9999
content += "(function(key) { Object.defineProperty(exports, key, {configurable: false, enumerable: true, get: function() { return " + name + "[key]; }}) }(__WEBPACK_IMPORT_KEY__));\n";
100-
content += "(function(key) { Object.defineProperty(exports, key, {configurable: false, enumerable: true, get: function() { return " + name + "[key]; }}) }(__WEBPACK_IMPORT_KEY__));\n";
101100
} else {
102101
content = "/* unused harmony reexport namespace */\n";
103102
}

0 commit comments

Comments
 (0)