Skip to content

Commit

Permalink
feat(gatsby-source-wordpress): use image cdn for non-resizable images…
Browse files Browse the repository at this point in the history
… in html (svgs/gifs mainly) (#35529)

* use image cdn from non-resizeable image types in html image tags

* start adding svg test

* remove dead code and update comments

* move try/catch one level higher and add needed info to publicUrlResolver

* add untransformable image in html unit test

* add svg image integration test

* fix test after merge
  • Loading branch information
TylerBarnes authored May 4, 2022
1 parent 5e51519 commit ebd63b2
Show file tree
Hide file tree
Showing 13 changed files with 6,905 additions and 3,244 deletions.
1 change: 1 addition & 0 deletions integration-tests/gatsby-source-wordpress/.env.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ACF_VERSION=5.8.7
YOAST_SEO_VERSION=18.7
WPGRAPHQL_YOAST_VERSION=v4.17.0
WPGRAPHQL_GUTENBERG_VERSION=v0.3.11
SVG_SUPPORT_VERSION=2.4.2

WPGRAPHQL_URL="http://localhost:8001/graphql"
HTACCESS_USERNAME="admin"
Expand Down
Loading

0 comments on commit ebd63b2

Please sign in to comment.