Skip to content

Commit 08c535d

Browse files
committed
fix lint and bug
1 parent 04fcde9 commit 08c535d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/webpack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ webpack.WebpackOptionsValidationError = WebpackOptionsValidationError;
6060

6161
function exportPlugins(obj, mappings) {
6262
Object.keys(mappings).forEach(name => {
63-
Object.defineProperty(exports, name, {
63+
Object.defineProperty(obj, name, {
6464
configurable: false,
6565
enumerable: true,
6666
get: mappings[name]
6767
});
68-
})
68+
});
6969
}
7070

7171
exportPlugins(exports, {

0 commit comments

Comments
 (0)