I'm having an issue with that the order the CSS modules are loaded isn't consistent; it is slightly different on every build. This affects the resulting hash of the generated files as I'm using a custom generateScopedName function. This is important as the order of which they arrive to the function determines the output class name.
Is there a way to control the loading order used by the loader? Specifically referring to this bullet point:
How does it work?
Builds index of all stylesheet imports per file (imports of files with .css or .scss extension).
I'm having an issue with that the order the CSS modules are loaded isn't consistent; it is slightly different on every build. This affects the resulting hash of the generated files as I'm using a custom
generateScopedName
function. This is important as the order of which they arrive to the function determines the output class name.Is there a way to control the loading order used by the loader? Specifically referring to this bullet point:
How does it work?