Skip to content

Commit d7cfa00

Browse files
pbastowskiyyx990803
authored andcommitted
fix: make extension test for font files case-insensitive (#830)
1 parent 76d7f77 commit d7cfa00

File tree

1 file changed

+1
-1
lines changed
  • packages/@vue/cli-service/lib/config

1 file changed

+1
-1
lines changed

packages/@vue/cli-service/lib/config/base.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ module.exports = (api, options) => {
7979

8080
webpackConfig.module
8181
.rule('fonts')
82-
.test(/\.(woff2?|eot|ttf|otf)(\?.*)?$/)
82+
.test(/\.(woff2?|eot|ttf|otf)(\?.*)?$/i)
8383
.use('url-loader')
8484
.loader('url-loader')
8585
.options({

0 commit comments

Comments
 (0)