Description
After upgrading from 4.1.1 to 5.0.0, I noticed that the CSS loader, with modules enabled, was generating colliding hashes for different components in my application. I did a little poking around and discovered that the paths being passed to the loader are not accurate: when my localIdentName
is set to [path][name]__[local]--[hash:base64]
, I see Webpack pulling in CSS from multiple files (e.g., app/components/logo-header/styles.scss
and app/components/input/styles.scss
, both of which define a class .root
) but giving them the same identifier (e.g., .app-components-logo-header-styles__root--TqfiOWwF9tjvyCbNgxKoY
, where one should have that identifier and the other should have .app-components-input-styles__root
with a unique hash).
I'm working on putting together a minimum working example reproducing the bug, but I'd be grateful for any thoughts you had in the meantime. Thanks in advance for your help, and thanks for all your hard work on this repo!