Skip to content

playt-net/next-circular-dependency

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@playt/next-circular-dependency

Detect circular dependencies in your Next.js app

Usage

Add the plugin to your next.config.mjs file like so:

import nextCircularDependency from '@playt/next-circular-dependency'

/** @type {import('next').NextConfig} */
let config = {}

// the options of the webpack plugin
// Ref.: https:/aackerman/circular-dependency-plugin
const options = {}

config = nextCircularDependency(options)(config)

export default config

Install

npm i -D @playt/next-circular-dependency

License

MIT

About

Detect circular dependencies in your Next.js app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%