Skip to content

Commit

Permalink
fix lint and bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jul 24, 2017
1 parent 04fcde9 commit 08c535d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/webpack.js
Expand Up @@ -60,12 +60,12 @@ webpack.WebpackOptionsValidationError = WebpackOptionsValidationError;

function exportPlugins(obj, mappings) {
Object.keys(mappings).forEach(name => {
Object.defineProperty(exports, name, {
Object.defineProperty(obj, name, {
configurable: false,
enumerable: true,
get: mappings[name]
});
})
});
}

exportPlugins(exports, {
Expand Down

0 comments on commit 08c535d

Please sign in to comment.