Skip to content

Commit 27917a1

Browse files
author
Alex Zherdev
committed
Accept version when loading fonts e.g. font-awesome
1 parent 6a830a5 commit 27917a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/webpack.config.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module.exports = {
7373
loader: 'json'
7474
},
7575
{
76-
test: /\.(jpg|png|gif|eot|svg|ttf|woff|woff2)$/,
76+
test: /\.(jpg|png|gif|eot|svg|ttf|woff|woff2)(\?.*)?$/,
7777
include: [paths.appSrc, paths.appNodeModules],
7878
loader: 'file',
7979
query: {

config/webpack.config.prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module.exports = {
8282
loader: 'json'
8383
},
8484
{
85-
test: /\.(jpg|png|gif|eot|svg|ttf|woff|woff2)$/,
85+
test: /\.(jpg|png|gif|eot|svg|ttf|woff|woff2)(\?.*)?$/,
8686
include: [paths.appSrc, paths.appNodeModules],
8787
loader: 'file',
8888
query: {

0 commit comments

Comments
 (0)