[SM-668] hash font asset names (#5054)

This commit is contained in:
Will Martin 2023-03-23 17:51:03 -04:00 committed by GitHub
parent 5d88fabe47
commit d024cc1f0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ const moduleRules = [
test: /.(ttf|otf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/, test: /.(ttf|otf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/,
exclude: /loading(|-white).svg/, exclude: /loading(|-white).svg/,
generator: { generator: {
filename: "fonts/[name][ext]", filename: "fonts/[name].[contenthash][ext]",
}, },
type: "asset/resource", type: "asset/resource",
}, },