We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da42f73 commit 197292bCopy full SHA for 197292b
1 file changed
webpackBaseConfig.js
@@ -283,14 +283,20 @@ module.exports = {
283
test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,
284
loader: "file"
285
}, {
286
- test: /\.(woff|woff2)$/,
+ test: /\.(woff|woff2)(\?v=\d+\.\d+\.\d+)?$/,
287
loader: "url?prefix=font/&limit=5000"
288
289
test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/,
290
loader: "url?limit=10000&mimetype=application/octet-stream"
291
292
test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
293
loader: "url?limit=10000&mimetype=image/svg+xml"
294
+ }, {
295
+ test: /\.png(\?v=\d+\.\d+\.\d+)?$/,
296
+ loader: "url?limit=10000&mimetype=image/png"
297
298
+ test: /\.gif(\?v=\d+\.\d+\.\d+)?$/,
299
+ loader: "url?limit=10000&mimetype=image/gif"
300
}]
301
},
302
0 commit comments