postcss-modules
postcss-modules copied to clipboard
What determines the order CSS modules are loaded in?
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?