Update webpack.rules.js

This commit is contained in:
tiddlygit-test 2021-03-22 00:07:57 +08:00
parent 8e2c02e77f
commit d0ba4974e4

View file

@ -97,7 +97,7 @@ module.exports = [
},
},
{
test: /\.(woff(2)?|ttf|eot|svg)(\?v=\d+\.\d+\.\d+)?$/,
test: /\.(woff(2)?|ttf|eot)(\?v=\d+\.\d+\.\d+)?$/,
use: [
{
loader: 'file-loader',
@ -109,7 +109,7 @@ module.exports = [
],
},
{
test: /\.(png|jpe?g|gif)$/,
test: /\.(png|jpe?g|gif|svg)$/,
use: [
{
loader: 'file-loader',