Preserving Nested Class Names in CSS Modules

If you’re using CSS Modules to locally scope your classes, but you need to preserve specific nested class names, you need to enclose them in a :global block:

The default behavior of css-loader is to take any class name found in a file and scope it locally with the addition of a partial hash. […]