-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(netlify): add support for image.remotePatterns and images.domain…
…s with Netlify Image CDN (#187) * feat(netlify): support for image.remotePatterns and images.domains * chore: add sample remote image * chore: lint * chore: add changeset * chore: better comments * chore: format * fix: handle dots in domains * Update .changeset/nine-lamps-cry.md Co-authored-by: Alexander Niebuhr <alexander@nbhr.io> * fix: warn if invalid regex is generated --------- Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
- Loading branch information
1 parent
739cf5d
commit 79ebfa4
Showing
7 changed files
with
224 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@astrojs/netlify': minor | ||
--- | ||
|
||
Adds support for `image.remotePatterns` and `images.domains` with Netlify Image CDN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
packages/netlify/test/hosted/hosted-astro-project/netlify.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build] | ||
command = "pnpm run --filter @test/netlify-hosted-astro-project... build" | ||
publish = "/packages/netlify/test/hosted/hosted-astro-project/dist" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters