0.0.4 • Published 5 months ago

vite-plugin-circullar-dependency v0.0.4

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

vite-plugin-circullar-dependency

Check circular dependency in vite project

Install

npm i vite-plugin-circullar-dependency -D

Use

import { defineConfig } from 'vite';
import circularDependency from 'vite-plugin-circullar-dependency';

export default defineConfig({
  circularDependency({
    exclude?: RegExp;
    include?: RegExp;
    failOnError?: boolean;
    allowAsyncCycles?: boolean;
    cwd?: string;
  })
})

Inspired by