Browse Source

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

pull/5067/head
Will Martin 3 years ago committed by GitHub
parent
commit
d024cc1f0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/web/webpack.config.js

2
apps/web/webpack.config.js

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

Loading…
Cancel
Save