generate fonts with correct filename
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
shibao 2023-03-28 22:03:11 -04:00
parent 04361a5838
commit dd956be93f

View File

@ -45,7 +45,7 @@ module.exports = (env, options) => {
{
test: /\.(woff(2)?|ttf|eot|svg|otf)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
type: 'asset/resource',
generator: { filename: 'fonts/[name][ext]' }
generator: { filename: 'fonts/[name].[ext]' }
}
]
},