If your project was built with create-react-app, the latest version has the fix, just update react-scripts to version 2.0.4 or higher.
npm install react-scripts@latest --save
This new version has excellent tree shaking thanks to the updated dependencies. I've tested with both material-ui and mdi-material-ui.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…