You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I tried searching for a solution to this for several hours but couldn't find one.
In my production build, the JSS generated by Material UI is not minified and the class names are not turned into jss123. They stay as MuiButtonBase, MuiInputBase, etc.
This is happening on both server side render and client side render.
I am setting NODE_ENV=production explicitly during build and runtime. And when building with webpack I am specifying production mode.
I'm pretty sure this is a webpack issue but I'm at the end of my ropes on this one :(
[x ] The issue is present in the latest release.
[x ] I have searched the issues of this repository and believe that this is not a duplicate.
Hello, I tried searching for a solution to this for several hours but couldn't find one.
In my production build, the JSS generated by Material UI is not minified and the class names are not turned into jss123. They stay as MuiButtonBase, MuiInputBase, etc.
This is happening on both server side render and client side render.
I am setting NODE_ENV=production explicitly during build and runtime. And when building with webpack I am specifying production mode.
I'm pretty sure this is a webpack issue but I'm at the end of my ropes on this one :(
Current Behavior 😯
JSS is rendered in dev mode
Expected Behavior 🤔
JSS is rendered in production mode
Context 🔦
Your Environment 🌎
Here are my webpack configs:
webpack.base.js:
webpack.client.base.js:
webpack.client.production.js:
webpack.server.base.js:
webpack.server.production.js:
The text was updated successfully, but these errors were encountered: