webpack-dependency-cycle-plugin
v0.0.2
Published
Check for dependency cycles using Tarjan's strongly connected components algorithm
Downloads
3
Maintainers
Readme
Webpack Dependency Cycle Plugin
Check for cycles in your modules via Tarjan's Algorithm
Installation
npm install --save-dev webpack-dependency-cycle-plugin
Usage
import { DependencyCyclePlugin } from 'webpack-dependency-cycle-plugin';
const webpackConfig = {
entry: 'index.js',
output: {
path: __dirname + '/dist',
filename: 'index_bundle.js'
},
plugins: [new DependencyCyclePlugin({
includeNodeModules: false // defaults to false
})]
};