Skip to content

Commit

Permalink
fix: make extension test for font files case-insensitive (#830)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbastowski authored and yyx990803 committed Feb 12, 2018
1 parent 76d7f77 commit d7cfa00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/lib/config/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ module.exports = (api, options) => {

webpackConfig.module
.rule('fonts')
.test(/\.(woff2?|eot|ttf|otf)(\?.*)?$/)
.test(/\.(woff2?|eot|ttf|otf)(\?.*)?$/i)
.use('url-loader')
.loader('url-loader')
.options({
Expand Down

0 comments on commit d7cfa00

Please sign in to comment.