commit: 5444f0c85203a4990d1351fc91b38b0d75643471
parent 234963caa10374763592b333aec93aa57106d29d
Author: Tusooa Zhu <tusooa@kazv.moe>
Date: Mon, 15 Aug 2022 18:42:21 -0400
Fix double dot in generated asset names
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js
@@ -84,14 +84,14 @@ module.exports = {
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
type: 'asset',
generator: {
- filename: utils.assetsPath('img/[name].[hash:7].[ext]')
+ filename: utils.assetsPath('img/[name].[hash:7][ext]')
}
},
{
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
type: 'asset',
generator: {
- filename: utils.assetsPath('fonts/[name].[hash:7].[ext]')
+ filename: utils.assetsPath('fonts/[name].[hash:7][ext]')
}
},
{