@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.mjs CHANGED
@@ -12950,7 +12950,7 @@ function createDocumentTree(options) {
12950
12950
  }),
12951
12951
  ...extraMetaTags,
12952
12952
  ...linkTags,
12953
- ...entrypointFiles.length > 0 ? entrypointFiles.slice(0, -1).map(
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