fix(web): Inter font (#1133)

This commit is contained in:
stacksmash76 2023-09-22 16:37:56 +00:00 committed by GitHub
parent 664e5413b6
commit 779383e2a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View file

@ -106,7 +106,7 @@ export default ({ mode }: ConfigEnv) => {
rollupOptions: {
output: {
assetFileNames: (chunkInfo: PreRenderedAsset) => {
if (chunkInfo.name === "Inter.var.woff2") {
if (chunkInfo.name === "Inter-Variable.woff2") {
return "assets/[name][extname]";
}
return "assets/[name]-[hash][extname]";