@animus-ui/unplugin 0.1.39 → 0.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -87,12 +87,13 @@ plugin first to fix it.
|
|
|
87
87
|
own mechanism.
|
|
88
88
|
- When a font face declares `preload: true`, emits
|
|
89
89
|
`animus-font-preloads.json` beside `animus.css`: the preloads, as
|
|
90
|
-
`{ href, type }`, with hrefs relative to the stylesheet.
|
|
90
|
+
`{ href, type, fetchpriority }`, with hrefs relative to the stylesheet.
|
|
91
91
|
`renderFontPreloads(preloads, { base, exclude })` returns the `<link>`
|
|
92
92
|
tags for your HTML, where `base` is the URL `animus.css`'s directory is
|
|
93
93
|
served at, and `exclude` lists hrefs the document already preloads.
|
|
94
|
-
The `fontPreloads` option (family names, or `{ family, weight?, style
|
|
95
|
-
selects the faces that preload in place
|
|
94
|
+
The `fontPreloads` option (family names, or `{ family, weight?, style?,
|
|
95
|
+
unicodeRange?, fetchpriority? }`) selects the faces that preload in place
|
|
96
|
+
of their `preload` flags; an entry's `fetchpriority` reaches their tags.
|
|
96
97
|
|
|
97
98
|
## Options
|
|
98
99
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@animus-ui/unplugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.41",
|
|
4
4
|
"description": "Animus transform host for non-plugin bundlers — unplugin-based rollup/esbuild/rspack/webpack entry points over the one extraction session",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"animus",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"compile": "bun check"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@animus-ui/extract": "0.1.
|
|
60
|
+
"@animus-ui/extract": "0.1.41",
|
|
61
61
|
"unplugin": "^3.3.0"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|