Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Fixes plugin methods not chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
eliperelman committed Feb 9, 2017
1 parent ab46ee0 commit 7cc56ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webpack-chain",
"version": "1.0.1",
"version": "1.0.2",
"main": "src/Config.js",
"repository": "mozilla-rpweb/webpack-chain",
"keywords": [
Expand Down
2 changes: 2 additions & 0 deletions src/Plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ module.exports = class extends Chainable {
use(plugin, ...args) {
this.plugin = plugin;
this.args = args;
return this;
}

inject(handler) {
this.init = handler;
return this;
}
};

0 comments on commit 7cc56ed

Please sign in to comment.