Using Semantic UI With CSS Modules in Webpack
问题 I have import 'semantic-ui-css/semantic.min.css' in index.js , as instructed by Semantic UI. Before I did yarn eject (to enable CSS modules with create-react-app ) everything worked fine, but as soon as I did I got the following error: Module not found: Can't resolve 'themes/default/assets/fonts/icons.eot' in '[MY_PROJECT_DIR]/node_modules/semantic-ui-css' I thought that it might be an issue with Webpack's loaders' not dealing with font files, so I found this: { test: /\.(eot|woff|woff2|ttf