Created by: ro-savage
This PR updates the classname naming of CSS Modules as per the discussion in PR #3965.
Examples
MyFolder/MyComponent.module.css
and class MyClass
the output will be MyComponent.module_MyClass__[hash]
MyFolder/index.module.css
and class MyClass
the output will be MyFolder_MyClass__[hash]
The E2E tests have been updated, but I was unable to run them locally to ensure the tests were working correctly.
The results have been manually tested.