@lolyjs/core 0.3.0-alpha.4 → 0.3.0-alpha.5
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/dist/cli.cjs +8 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +8 -1
- package/dist/cli.mjs.map +1 -1
- package/dist/index.cjs +130 -121
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +130 -121
- package/dist/index.mjs.map +1 -1
- package/dist/runtime.cjs +118 -116
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.mjs +118 -116
- package/dist/runtime.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -12950,7 +12950,7 @@ function createDocumentTree(options) {
|
|
|
12950
12950
|
}),
|
|
12951
12951
|
...extraMetaTags,
|
|
12952
12952
|
...linkTags,
|
|
12953
|
-
...entrypointFiles.length > 0 ? entrypointFiles.
|
|
12953
|
+
...entrypointFiles.length > 0 ? entrypointFiles.map(
|
|
12954
12954
|
(file) => React.createElement("link", {
|
|
12955
12955
|
key: `preload-${file}`,
|
|
12956
12956
|
rel: "preload",
|
|
@@ -12971,6 +12971,13 @@ function createDocumentTree(options) {
|
|
|
12971
12971
|
href: faviconPath,
|
|
12972
12972
|
type: faviconType || (faviconPath.endsWith(".ico") ? "image/x-icon" : "image/png")
|
|
12973
12973
|
}),
|
|
12974
|
+
// Preload CSS para evitar bloqueo de renderizado
|
|
12975
|
+
React.createElement("link", {
|
|
12976
|
+
key: "preload-css",
|
|
12977
|
+
rel: "preload",
|
|
12978
|
+
href: clientCssPath,
|
|
12979
|
+
as: "style"
|
|
12980
|
+
}),
|
|
12974
12981
|
React.createElement("link", {
|
|
12975
12982
|
rel: "stylesheet",
|
|
12976
12983
|
href: clientCssPath
|