@uniweb/build 0.14.37 → 0.14.38

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.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/src/prerender.js +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/build",
3
- "version": "0.14.37",
3
+ "version": "0.14.38",
4
4
  "description": "Build tooling for the Uniweb Component Web Platform",
5
5
  "type": "module",
6
6
  "exports": {
@@ -59,13 +59,13 @@
59
59
  "js-yaml": "^4.1.0",
60
60
  "sharp": "^0.33.2",
61
61
  "yaml": "^2.5.0",
62
- "@uniweb/theming": "0.1.9",
63
- "@uniweb/content-writer": "0.2.7"
62
+ "@uniweb/content-writer": "0.2.7",
63
+ "@uniweb/theming": "0.1.10"
64
64
  },
65
65
  "optionalDependencies": {
66
66
  "@uniweb/content-reader": "1.1.14",
67
- "@uniweb/runtime": "0.8.29",
68
- "@uniweb/schemas": "0.2.4"
67
+ "@uniweb/schemas": "0.2.4",
68
+ "@uniweb/runtime": "0.8.30"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
@@ -74,7 +74,7 @@
74
74
  "@tailwindcss/vite": "^4.0.0",
75
75
  "@vitejs/plugin-react": "^4.0.0 || ^5.0.0",
76
76
  "vite-plugin-svgr": "^4.0.0",
77
- "@uniweb/core": "0.7.23"
77
+ "@uniweb/core": "0.7.24"
78
78
  },
79
79
  "peerDependenciesMeta": {
80
80
  "vite": {
package/src/prerender.js CHANGED
@@ -398,6 +398,11 @@ export function injectBuildData(html, siteContent, { splitContent = false, curre
398
398
  )
399
399
  }
400
400
 
401
+ // The pre-paint appearance script is NOT injected here. It belongs to the
402
+ // shared seam — @uniweb/runtime/ssr's injectPageContent(), which runs just
403
+ // before this — so the cloud worker's just-in-time render gets it too. See the
404
+ // "which side of the seam?" note there before adding a new head injection.
405
+
401
406
  // Inject site content as JSON for hydration
402
407
  // Strip CSS and font links from theme (both are already in <head>)
403
408
  let contentForJson = { ...siteContent }