Open satazor opened 4 years ago
Issue-Label Bot is automatically applying the label feature_request
to this issue, with a confidence of 0.97. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
⇾ We did that for our needs, perhaps you want to give it a try? https://github.com/playt-net/next-circular-dependency
Currently, to configure https://github.com/aackerman/circular-dependency-plugin we must inject properties into
next.config.js
, such asinclude
orfailOnError
. Ideally, those would be passed as options instead, like:Here's an example of a official plugin written this way: https://github.com/zeit/next.js/blob/canary/packages/next-bundle-analyzer/index.js#L1
The good thing about this is that it will play nicely with https://www.npmjs.com/package/next-compose-plugins.
If you agree, I can make a PR. Thanks.