I also encountered this problem too and I’ve found a workaround.
First, you need to install the two loaders(file-loader, url-loader).
e.g.
$ npm install –save file-loader url-loader
If you want to support the css. Make sure you install the style loaders.
e.g.,
$ npm install –save style-loader css-loader
Next, you update the webpack config, kindly check below my sample configurations. Hope it helps.
module: {
loaders: [{
test: /.jsx?$/,
loader: 'babel-loader',
exclude: /node_modules/
}, {
test: /\.css$/,
loader: "style-loader!css-loader"
}, {
test: /\.(jpe?g|png|gif|woff|woff2|eot|ttf|svg)(\?[a-z0-9=.]+)?$/,
loader: 'url-loader?limit=100000' }]
},