@@ -54,9 +54,9 @@ HarmonyExportImportedSpecifierDependency.Template.prototype.apply = function(dep
5454 var content ;
5555 var activeExports ;
5656 function getReexportStatement ( key , valueKey ) {
57- return ( importIsHarmony || ! valueKey ? "" : "if(Object.prototype.hasOwnProperty.call (" + name + ", " + valueKey + ")) " ) +
58- "Object.defineProperty (exports, " + key + ", " +
59- "{configurable: false, enumerable: true, get: function() { return " + name + ( valueKey === null ? "_default.a" : valueKey && "[" + valueKey + "]" ) + "; } });"
57+ return ( importIsHarmony || ! valueKey ? "" : "if(__webpack_require__.o (" + name + ", " + valueKey + ")) " ) +
58+ "__webpack_require__.d (exports, " + key + ", " +
59+ "function() { return " + name + ( valueKey === null ? "_default.a" : valueKey && "[" + valueKey + "]" ) + "; });"
6060 }
6161 if ( ! used ) { // we want to rexport something, but the export isn't used
6262 content = "/* unused harmony reexport " + dep . name + " */\n" ;
@@ -96,7 +96,7 @@ HarmonyExportImportedSpecifierDependency.Template.prototype.apply = function(dep
9696 content += "if(" + JSON . stringify ( activeExports . concat ( "default" ) ) + ".indexOf(__WEBPACK_IMPORT_KEY__) < 0) " ;
9797 else
9898 content += "if(__WEBPACK_IMPORT_KEY__ !== 'default') " ;
99- content += "(function(key) { Object.defineProperty (exports, key, {configurable: false, enumerable: true, get: function() { return " + name + "[key]; } }) }(__WEBPACK_IMPORT_KEY__));\n" ;
99+ content += "(function(key) { __webpack_require__.d (exports, key, function() { return " + name + "[key]; }) }(__WEBPACK_IMPORT_KEY__));\n" ;
100100 } else {
101101 content = "/* unused harmony reexport namespace */\n" ;
102102 }
0 commit comments