1 parent 04fcde9 commit 08c535dCopy full SHA for 08c535d
1 file changed
lib/webpack.js
@@ -60,12 +60,12 @@ webpack.WebpackOptionsValidationError = WebpackOptionsValidationError;
60
61
function exportPlugins(obj, mappings) {
62
Object.keys(mappings).forEach(name => {
63
- Object.defineProperty(exports, name, {
+ Object.defineProperty(obj, name, {
64
configurable: false,
65
enumerable: true,
66
get: mappings[name]
67
});
68
- })
+ });
69
}
70
71
exportPlugins(exports, {
0 commit comments