webpack-dependency-cycle-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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

Package Sidebar

Install

npm i webpack-dependency-cycle-plugin

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • bsouthga