Skip to content

Commit b152a77

Browse files
committed
fix(webpack): fix file-loader regex for versioned font imports
1 parent 8bce0f2 commit b152a77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: templates/app/webpack.make.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ module.exports = function makeWebpackConfig(options) {
162162
// Rename the file using the asset hash
163163
// Pass along the updated reference to your code
164164
// You can add here any file extension you want to get copied to your output
165-
test: /\.(png|jpg|jpeg|gif|svg|woff|woff2|ttf|eot)$/,
165+
test: /\.(png|jpg|jpeg|gif|svg|woff|woff2|ttf|eot)([\?]?.*)$/,
166166
loader: 'file'
167167
}, {
168168
<%_ if(filters.jade) { _%>

0 commit comments

Comments
 (0)