aackerman / circular-dependency-plugin

Detect circular dependencies in modules compiled with Webpack
https://www.npmjs.com/package/circular-dependency-plugin
ISC License
914 stars 46 forks source link

Does not work with Webpack 5 #43

Closed kirill-konshin closed 5 years ago

kirill-konshin commented 5 years ago
74% module optimization CircularDependencyPlugin(node:58408) UnhandledPromiseRejectionWarning: Error: module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)
    at HarmonyCompatibilityDependency.get (/Users/xxx/node_modules/webpack/lib/Dependency.js:158:9)
    at CircularDependencyPlugin.isCyclic (/Users/xxx/node_modules/circular-dependency-plugin/index.js:82:34)