Material UI / Webpack / React - the className optimization/minification in production mode
问题 webpack - v4+ material ui - v4.9.6 react - v16.12.0 In a normal way all classes should be as the last one from the first example. In some reason on production mode, many of the classes do not change. Any idea? Example 1: <div class="MuiDrawer-root MuiDrawer-docked jss408"></div> Example 2: <div class="MuiPaper-root jss469 MuiPaper-elevation1 MuiPaper-rounded"></div> 回答1: styles className is not designed as deterministic in prod mode. But the generated class names of the @material-ui/core