1.0.6 • Published 3 months ago

circular-dependency-plugin-async v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

npm version

Circular Dependency Plugin Async

Detect modules with circular dependencies asynchronously when bundling with webpack.

Basic Usage

!IMPORTANT
Async mode doesn't fail the webpack build so if you want your build fail during production build set isAsync: false

// webpack.config.js
const CircularDependencyPluginAsync = require("circular-dependency-plugin-async");

module.exports = {
  plugins: [
    new CircularDependencyPlugin({
      // Path to the index file of your application
      indexFilePath: "./src/index.tsx",
      // Sync/async mode flag
      isAsync: true, // optional
      // Threshold for amount of circular dependecies to trigger the error
      threshold: 1, // optional
    }),
  ],
};
1.0.6

3 months ago

1.0.5

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago