mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-05-20 12:38:42 -05:00
fix: make extension test for font files case-insensitive (#830)
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user