@levino/shipyard-base 0.8.1 → 0.8.2
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/package.json +1 -1
- package/src/schemas/config.ts +6 -2
package/package.json
CHANGED
package/src/schemas/config.ts
CHANGED
|
@@ -210,8 +210,12 @@ export interface Config {
|
|
|
210
210
|
* The path is resolved against `site` from `astro.config.*` to produce an
|
|
211
211
|
* absolute URL in the emitted `og:image` / `twitter:image` meta tags.
|
|
212
212
|
*
|
|
213
|
-
*
|
|
214
|
-
*
|
|
213
|
+
* Note: this string is passed through verbatim — `astro.config.*` runs
|
|
214
|
+
* before Vite's asset pipeline is wired up, so a `src/`-imported
|
|
215
|
+
* `ImageMetadata` is not available here. Pre-size and pre-encode the file
|
|
216
|
+
* manually (1200×630 JPEG, < 200 KB) before serving it from `public/`.
|
|
217
|
+
* Frontmatter `image:` on individual pages still goes through Astro's image
|
|
218
|
+
* pipeline and is optimized automatically.
|
|
215
219
|
*
|
|
216
220
|
* @example '/og-default.jpg'
|
|
217
221
|
* @example 'https://example.com/og.jpg'
|