There is an on going issue with using non-css module css in projects.
This causes issues with people needing to change webpack config, or mainters need to create a css-module specific version. We should not be forcing people to go through a bunch of configuration to get css modules and standard css to play nicely together.
I suggest a few ways to solve this problem long term, and I think the change should come from CSS Modules as it is non-standard.
- Change extension All CSS Modules have the file extension .cssm (or module.css). Then any loaders would know these are CSS modules, and other imports are standard css.