[x] I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
When running the application in a development build with no minification. The css looks correct and all of my styling matches what I have coded.
However when I build a production version, the jss seems to be mixed up and out of order. My overrides in my custom theme file are no longer being applied. And the defaults are overriding my overrides.
Even some of the styling used with makeStyles is being overridden by the defaults making my application's style very messed up.
Expected Behavior 🤔
Dev jss should match the production build.
Steps to Reproduce 🕹
Steps:
Create a standard mui application and apply overrides in the custom theme.
Build the application with parcel js and notice that the overrides do not work.
Current Behavior 😯
When running the application in a development build with no minification. The css looks correct and all of my styling matches what I have coded.
However when I build a production version, the jss seems to be mixed up and out of order. My
overrides
in my custom theme file are no longer being applied. And the defaults are overriding my overrides.Even some of the styling used with makeStyles is being overridden by the defaults making my application's style very messed up.
Expected Behavior 🤔
Dev jss should match the production build.
Steps to Reproduce 🕹
Steps:
overrides
in the custom theme.Context 🔦
Your Environment 🌎
tsconfig.json: