@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.cjs
CHANGED
|
@@ -12946,7 +12946,7 @@ function createDocumentTree(options) {
|
|
|
12946
12946
|
}),
|
|
12947
12947
|
...extraMetaTags,
|
|
12948
12948
|
...linkTags,
|
|
12949
|
-
...entrypointFiles.length > 0 ? entrypointFiles.
|
|
12949
|
+
...entrypointFiles.length > 0 ? entrypointFiles.map(
|
|
12950
12950
|
(file) => import_react.default.createElement("link", {
|
|
12951
12951
|
key: `preload-${file}`,
|
|
12952
12952
|
rel: "preload",
|
|
@@ -12967,6 +12967,13 @@ function createDocumentTree(options) {
|
|
|
12967
12967
|
href: faviconPath,
|
|
12968
12968
|
type: faviconType || (faviconPath.endsWith(".ico") ? "image/x-icon" : "image/png")
|
|
12969
12969
|
}),
|
|
12970
|
+
// Preload CSS para evitar bloqueo de renderizado
|
|
12971
|
+
import_react.default.createElement("link", {
|
|
12972
|
+
key: "preload-css",
|
|
12973
|
+
rel: "preload",
|
|
12974
|
+
href: clientCssPath,
|
|
12975
|
+
as: "style"
|
|
12976
|
+
}),
|
|
12970
12977
|
import_react.default.createElement("link", {
|
|
12971
12978
|
rel: "stylesheet",
|
|
12972
12979
|
href: clientCssPath
|