astro/.changeset
Alexey Shmalko c54a115e29 fix(image): allow usage of image from any directory (#5932)
Currently, @astrojs/image allows *importing* images from srcDir
only. Importing images from outside srcDir fails miserably *in dev
mode* and produces incorrect src.

This happens because `path.relative(fileURLToPath(config.srcDir), id)`
resolves to "../something" and when joined with '/@astroimage' cancels
it out (`join('/@astroimage', '../../something')` => `'/something'`).

Rework /@astroimage URL scheme to be similar to "/@fs/" scheme—always
export absolute path to the target file.
2023-02-03 12:18:19 -05:00
..
chilly-ads-roll.md Fix GetPictureResult interface (#5894) 2023-02-03 12:18:19 -05:00
config.json Add experimental feature (#5681) 2022-12-27 11:43:49 -05:00
heavy-meals-complain.md fix(image): allow usage of image from any directory (#5932) 2023-02-03 12:18:19 -05:00
README.md Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation