Open
Description
following https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face I create a style.css file with:
@font-face {
font-family: "Trickster";
src:
local("Trickster"),
url("trickster-COLRv1.otf") format("opentype") tech(color-COLRv1),
url("trickster-outline.otf") format("opentype"),
url("trickster-outline.woff") format("woff");
}
the css bundling crashes with recommendations to "mark paths as external" (unhelpful, since this is commandeered by framework, not by the user), reference:
style docs/style.css → ✘ [ERROR] Could not resolve "trickster-COLRv1.otf"
docs/style.css:5:8:
5 │ url("trickster-COLRv1.otf") format("opentype") tech(color-COLRv1),
╵ ~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "trickster-COLRv1.otf" as external to exclude it from
the bundle, which will remove this error and leave the unresolved path in the
bundle.
✘ [ERROR] Could not resolve "trickster-outline.otf"
docs/style.css:6:8:
6 │ url("trickster-outline.otf") format("opentype"),
╵ ~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "trickster-outline.otf" as external to exclude it from
the bundle, which will remove this error and leave the unresolved path in the
bundle.
✘ [ERROR] Could not resolve "trickster-outline.woff"
docs/style.css:7:8:
7 │ url("trickster-outline.woff") format("woff");
╵ ~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "trickster-outline.woff" as external to exclude it from
the bundle, which will remove this error and leave the unresolved path in the
bundle.
Unexpected error: Build failed with 3 errors:
docs/style.css:5:8: ERROR: Could not resolve "trickster-COLRv1.otf"
docs/style.css:6:8: ERROR: Could not resolve "trickster-outline.otf"
docs/style.css:7:8: ERROR: Could not resolve "trickster-outline.woff"