score:4

Accepted answer

There are a few things you need to do. Ensure that you have use ~ for CSS imports from node_modules like:

import '~semantic-ui-css/semantic.min.css';

Second, this CSS file semantic.min.css also references *.woff files. I believe it is used for referencing external font files. You would need either url-loader or file-loader to handle those types of files. Sample loader configuration for url-loader would look like:

{
    test: /\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/,
    loader: 'url-loader',
    options: {
        limit: 10000,
    },
}

Further documentation: url-loader file-loader


Related Query

More Query from same tag