0.0.2 • Published 6 years ago

webpack-dependency-cycle-plugin v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Webpack Dependency Cycle Plugin

npm version

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
  })]
};
0.0.2

6 years ago

0.0.1

6 years ago