You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to decode downloaded font: <URL>Understand this warning
dashboard:1 Failed to decode downloaded font: http://localhost:8080/assets/8dd453067a91e02705cb.woff2Understand this warning
dashboard:1 Failed to decode downloaded font: http://localhost:8080/assets/8dd453067a91e02705cb.woff2Understand this warning
dashboard:1 Failed to decode downloaded font: http://localhost:8080/assets/8dd453067a91e02705cb.woff2Understand this warning
dashboard:1 Failed to decode downloaded font: http://localhost:8080/assets/0080cd663905c74833d4.woffUnderstand this warning
dashboard:1 Failed to decode downloaded font: http://localhost:8080/assets/0080cd663905c74833d4.woff
24OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
24OTS parsing error: incorrect file size in WOFF header
The other odd thing is this, the file-size seems to have changed, the manifest is the top section, then the output, then the source files:
❯ cat manifest.json|grep woff2
"UntitledSansWeb-BoldItalic.woff2": "/assets/df68a2f121e6187b.woff2",
"UntitledSansWeb-BlackItalic.woff2": "/assets/78bdb797c88c0a01.woff2",
"UntitledSansWeb-RegularItalic.woff2": "/assets/d382d49119362472.woff2",
"UntitledSansWeb-MediumItalic.woff2": "/assets/20a88768ac4c6e56.woff2",
"UntitledSansWeb-Black.woff2": "/assets/77c5b91cda599b81.woff2",
"UntitledSansWeb-Bold.woff2": "/assets/9049aef195690080.woff2",
"UntitledSansWeb-Medium.woff2": "/assets/327aac89d6599489.woff2",
"UntitledSansWeb-Regular.woff2": "/assets/621214399ae2849d.woff2",
"UntitledSansWeb-LightItalic.woff2": "/assets/beb6c86f707175c0.woff2",
"UntitledSansWeb-Light.woff2": "/assets/53569d1fdd782522.woff2",
client/target/static on dan/upgrade-rspack [$✘!] via v20.17.0 via ❄️ impure (nix-shell-env) on ☁️ (us-west-2)
❯ ls -al *.woff2
-rw-r--r-- 1 dan dan 64906 Oct 3 12:03 20a88768ac4c6e56.woff2
-rw-r--r-- 1 dan dan 63430 Oct 3 12:03 327aac89d6599489.woff2
-rw-r--r-- 1 dan dan 62171 Oct 3 12:03 53569d1fdd782522.woff2
-rw-r--r-- 1 dan dan 62783 Oct 3 12:03 621214399ae2849d.woff2
-rw-r--r-- 1 dan dan 64592 Oct 3 12:03 77c5b91cda599b81.woff2
-rw-r--r-- 1 dan dan 66262 Oct 3 12:03 78bdb797c88c0a01.woff2
-rw-r--r-- 1 dan dan 64340 Oct 3 12:03 9049aef195690080.woff2
-rw-r--r-- 1 dan dan 63024 Oct 3 12:03 beb6c86f707175c0.woff2
-rw-r--r-- 1 dan dan 64742 Oct 3 12:03 d382d49119362472.woff2
-rw-r--r-- 1 dan dan 66813 Oct 3 12:03 df68a2f121e6187b.woff2
client/target/static on dan/upgrade-rspack [$✘!] via v20.17.0 via ❄️ impure (nix-shell-env) on ☁️ (us-west-2)
❯ ls -al ../../../server/src/main/public/fonts/*.woff2
-rw-r--r-- 1 dan dan 30504 Nov 5 2021 ../../../server/src/main/public/fonts/MaisonNeueExtended-Bold.woff2
-rw-r--r-- 1 dan dan 36578 Nov 5 2021 ../../../server/src/main/public/fonts/UntitledSansWeb-BlackItalic.woff2
-rw-r--r-- 1 dan dan 35750 Nov 5 2021 ../../../server/src/main/public/fonts/UntitledSansWeb-Black.woff2
-rw-r--r-- 1 dan dan 36718 Nov 5 2021 ../../../server/src/main/public/fonts/UntitledSansWeb-BoldItalic.woff2
-rw-r--r-- 1 dan dan 35474 Nov 5 2021 ../../../server/src/main/public/fonts/UntitledSansWeb-Bold.woff2
-rw-r--r-- 1 dan dan 34526 Nov 5 2021 ../../../server/src/main/public/fonts/UntitledSansWeb-LightItalic.woff2
-rw-r--r-- 1 dan dan 34270 Nov 5 2021 ../../../server/src/main/public/fonts/UntitledSansWeb-Light.woff2
-rw-r--r-- 1 dan dan 35770 Nov 5 2021 ../../../server/src/main/public/fonts/UntitledSansWeb-MediumItalic.woff2
-rw-r--r-- 1 dan dan 35022 Nov 5 2021 ../../../server/src/main/public/fonts/UntitledSansWeb-Medium.woff2
-rw-r--r-- 1 dan dan 35790 Nov 5 2021 ../../../server/src/main/public/fonts/UntitledSansWeb-RegularItalic.woff2
-rw-r--r-- 1 dan dan 34714 Nov 5 2021 ../../../server/src/main/public/fonts/UntitledSansWeb-Regular.woff2
Reproduce link
No response
Reproduce Steps
rspack production build with woff/woff2 files included from less
The text was updated successfully, but these errors were encountered:
Hello @dispalt, sorry we can't investigate the problem further without reproduction demo, please provide a repro demo by forking rspack-repro, or provide a minimal GitHub repository by yourself. Issues labeled by need reproduction will be closed if no activities in 14 days.
System Info
rspack 1.0.7, 1.0.8
Details
So after upgrading to 1.x my woff/woff2 files don't load in the browser, but only with a production build. I get an error like the following.
My configuration hasn't changed the relevant lines, I do use
less
which might be an issue?The other odd thing is this, the file-size seems to have changed, the manifest is the top section, then the output, then the source files:
Reproduce link
No response
Reproduce Steps
rspack production build with woff/woff2 files included from less
The text was updated successfully, but these errors were encountered: