@stnd/core 0.24.7 → 0.24.9

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 +9 -9
  2. package/standard.js +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stnd/core",
3
- "version": "0.24.7",
3
+ "version": "0.24.9",
4
4
  "description": "A fine-art typography framework implementing classical design principles, mathematical precision with the golden ratio, and micro-typography rules inspired by the masters of print design.",
5
5
  "author": "Francis Fontaine",
6
6
  "license": "MIT",
@@ -61,17 +61,17 @@
61
61
  "@stnd/client": "0.7.6",
62
62
  "@stnd/cloudflare": "0.8.0",
63
63
  "@stnd/fonts": "0.6.0",
64
- "@stnd/icon": "0.8.0",
65
- "@stnd/lab": "1.3.1",
66
- "@stnd/launcher": "1.6.5",
67
- "@stnd/layout": "0.8.3",
64
+ "@stnd/icon": "0.9.0",
65
+ "@stnd/lab": "1.3.2",
66
+ "@stnd/launcher": "1.6.6",
67
+ "@stnd/layout": "0.8.4",
68
68
  "@stnd/log": "0.6.0",
69
- "@stnd/modules": "0.11.4",
69
+ "@stnd/modules": "0.11.5",
70
70
  "@stnd/press": "0.13.0",
71
71
  "@stnd/store": "0.6.0",
72
- "@stnd/styles": "0.21.1",
73
- "@stnd/themes": "0.17.0",
74
- "@stnd/ui": "0.12.0",
72
+ "@stnd/styles": "0.22.0",
73
+ "@stnd/themes": "0.17.1",
74
+ "@stnd/ui": "0.12.1",
75
75
  "@stnd/utils": "0.8.0"
76
76
  },
77
77
  "devDependencies": {
package/standard.js CHANGED
@@ -388,12 +388,14 @@ export default function standard(options = {}) {
388
388
  // `hooks` off an integration. `clientPrerender` is an Astro experimental
389
389
  // flag, valid in the pinned Astro 7.x; it degrades gracefully in
390
390
  // browsers without the Speculation Rules API.
391
- prefetch: {
391
+ // An app may change both: `standard({ prefetch, clientPrerender })`. A page
392
+ // that is heavy to render or to download should not be preloaded eagerly.
393
+ prefetch: finalConfig.prefetch ?? {
392
394
  prefetchAll: true,
393
395
  defaultStrategy: "viewport",
394
396
  },
395
397
  experimental: {
396
- clientPrerender: true,
398
+ clientPrerender: finalConfig.clientPrerender ?? true,
397
399
  },
398
400
  integrations: moduleIntegrations,
399
401
  vite: {