@speedkit/cli 3.14.0 → 3.15.0
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [3.15.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.14.0...v3.15.0) (2025-11-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* enable font preloads from SSR ([804f066](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/804f066631288302c2e49eea2612c532adfa5920))
|
|
7
|
+
|
|
1
8
|
# [3.14.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.13.1...v3.14.0) (2025-11-06)
|
|
2
9
|
|
|
3
10
|
|
package/README.md
CHANGED
|
@@ -259,6 +259,11 @@ export const post = async (db, req, res) => {
|
|
|
259
259
|
link.setAttribute("href", styleLink.getAttribute("href"));
|
|
260
260
|
head.append(link);
|
|
261
261
|
});
|
|
262
|
+
|
|
263
|
+
// preload fonts by moving font declarations from nested css to the head, as they are not supported in shadow doms
|
|
264
|
+
customShadowRoot.querySelectorAll(".speed-kit-font-face-preloads").forEach((fontFaceRules) => {
|
|
265
|
+
head.append(fontFaceRules);
|
|
266
|
+
});
|
|
262
267
|
}
|
|
263
268
|
}
|
|
264
269
|
|
package/oclif.manifest.json
CHANGED