Open m4rvr opened 4 weeks ago
This is already implemented in most configurations, however the resolveSubOptions
aren't passed (only getOverrides
) in the factory, despite the fact that almost all configurations support OptionsFiles
. All that would need to happen is for the sub options to be resolved as well, so you can override the files
per-config, as this is already supported in the options spread types of both Solid and React.
This is a pretty simple fix. I can make a PR
PR welcome, thanks!
Clear and concise description of the problem
At the moment it's only possible to define
true
oroverrides
in this config:If you have a monorepo (like me) where you use React and Solid, the rules collide.
Suggested solution
It would be great to allow the
files
option in the settings for each package like it's already possible when calling the function likereact()
orsolid()
, so the scope can be changed like this:Alternative
As an alternative, manually calling and adding the packages works too. It just feels a little bit hacky and the feature request is more convenient.
Additional context
This was discussed in #625 already.
Validations