clone

a deno framework for local-first web apps that open instantly, work offline and sync when users choose

fix(site): stop emitting webpack module stubs as font files

Dami committed 65e8bfd
The no-inline-fonts plugin appended a second rule for fonts on top of
Docusaurus's url-loader rule. webpack ran both: the loader emitted the
real woff2 under assets/fonts/, then the asset/resource pass emitted the
loader's JS module source as the file the CSS points at — a 127-byte
stub, so every vendored font (Grenze Gotisch included) fell back to
system faces in production. Rewrite the existing font rule in place
instead of adding a competing one.
commit
65e8bfd6ee7c4e4bebac010c6d9d85ab4671e684
parent
079104107dc7b8864d48861bc4b9e14216ebe001
author
Dami <dami.etoile@gmail.com>
1 file changed, +17 -5
Mwebsite/docusaurus.config.ts22+++++++++++++++++-----
M website/docusaurus.config.ts +17 -5