[SM-668] hash font asset names (#5054)
This commit is contained in:
parent
5d88fabe47
commit
d024cc1f0c
|
@ -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",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue