Urlloader uses options not query params.

This commit is contained in:
2020-11-24 23:45:33 +01:00
parent cf06140f60
commit 7c0d7c14ec

View File

@@ -64,7 +64,11 @@ const webpackConfig = function(isDev) {
}, },
{ {
test: /\.woff(2)?(\?[a-z0-9]+)?$/, test: /\.woff(2)?(\?[a-z0-9]+)?$/,
loader: "url-loader?limit=10000&mimetype=application/font-woff" loader: "url-loader",
options: {
limit: 10000,
mimetype: "application/font-woff"
}
}, },
{ {
test: /\.(ttf|eot|svg)(\?[a-z0-9]+)?$/, test: /\.(ttf|eot|svg)(\?[a-z0-9]+)?$/,