Skip to content

Commit

Permalink
Merge pull request #22 from pavelvlasov/patch-1
Browse files Browse the repository at this point in the history
Pass module into onDetected
  • Loading branch information
aackerman committed Aug 29, 2017
2 parents cce7601 + 57214cf commit fdae16f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class CircularDependencyPlugin {
if (plugin.options.onDetected) {
try {
plugin.options.onDetected({
module: module,
paths: maybeCyclicalPathsList,
compilation: compilation
})
Expand Down

0 comments on commit fdae16f

Please sign in to comment.