Log a warning if a webpack query matches more than one module #525
Labels
available (leave comment to claim)
If you're interested in taking on this issue, please leave a comment!
enhancement
New feature or request
good first issue
Good for newcomers
If a webpack query (ie props of source) matches more than one module, it is not a very reliable query and could break if load order changes or if one of the modules gets changed. We should log a warning to the console if a selector matches more than one module (without
all
enabled) to encourage devs to improve their module selectors.The text was updated successfully, but these errors were encountered: