madge
madge copied to clipboard
How to provide config file like package.json to CLI?
I'm sorry if it's a stupid question. I want to use madge as CLI tool and provide all the configuration inside package.json "madge" field. I see that CLI supports providing webpack-config and ts-config but there is no option to point it to rc config. How should I do that?
Not sure I understand your question. Here's everything you can configure in the madge field in package.json: https://github.com/pahen/madge#configuration including webpackConfig
and tsConfig
.
Closing for inactivity
he meant some options like npx madge --config madge.json ./src
@dostoievsky It's actually a nice idea after I understand what you mean. But then it's like a dup of
- #335
right? I think we can keep this one closed since #335 is still open.