circular-dependency-plugin
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -0,1 +1,3 @@ | ||
var path = require('path'); | ||
function CircularDependencyPlugin() {} | ||
@@ -33,3 +35,4 @@ | ||
if (isCyclic(module)) { | ||
console.warn(module.resource, 'contains cyclical dependency'); | ||
var relativePathToModule = path.relative(process.cwd(), module.resource); | ||
console.warn(relativePathToModule, 'contains cyclical dependency'); | ||
} | ||
@@ -36,0 +39,0 @@ }); |
@@ -11,3 +11,3 @@ { | ||
"description": "Detect modules with circular dependencies when bundling with webpack.", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"dependencies": {}, | ||
@@ -14,0 +14,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4176
102