Skip to content

Gatsy 4.10.1 - Gatsby-soure-wp 6.10.0 inline svg's are not given static url yet are rendered with source urls #35213

@garryburch

Description

@garryburch

Preliminary Checks

Description

Inline svg's are not given static url yet are rendered with source urls

Reproduction Link

https://gatsby.dev/reproduction - tyler said I could skip this

Steps to Reproduce

  1. Update gatsby and all image source plugins to required version
  2. Gatsby Build - Gatsby Serve
    ...

Expected Result

Inline source svg's should be given static/hash urls

Actual Result

Inline source svg's are kept with source url from gatsby-source-wordpress

Environment

System:
    OS: Linux 5.13 Ubuntu 21.10 21.10 (Impish Indri)
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11900H @ 2.50GHz
    Shell: 5.1.8 - /bin/bash
  Binaries:
    Node: 14.19.0 - ~/.nvm/versions/node/v14.19.0/bin/node
    Yarn: 1.22.18 - ~/.nvm/versions/node/v14.19.0/bin/yarn
    npm: 6.14.16 - ~/.nvm/versions/node/v14.19.0/bin/npm
  Browsers:
    Chrome: 99.0.4844.82
    Firefox: 98.0.1
  npmPackages:
  "gatsby": "^4.10.1",
  "gatsby-background-image": "^1.6.0",
  "gatsby-cli": "^4.9.0",
  "gatsby-image": "^3.11.0",
  "gatsby-plugin-algolia": "^0.25.0",
  "gatsby-plugin-breadcrumb": "^12.1.1",
  "gatsby-plugin-canonical-urls": "^4.4.0",
  "gatsby-plugin-csp": "^1.1.3",
  "gatsby-plugin-feed": "^4.4.0",
  "gatsby-plugin-gatsby-cloud": "^4.5.2",
  "gatsby-plugin-google-tagmanager": "^4.4.0",
  "gatsby-plugin-image": "^2.10.0",
  "gatsby-plugin-manifest": "^4.4.0",
  "gatsby-plugin-postcss": "^5.4.0",
  "gatsby-plugin-react-helmet": "^5.4.0",
  "gatsby-plugin-react-svg": "^3.1.0",
  "gatsby-plugin-remove-serviceworker": "^1.0.0",
  "gatsby-plugin-robots-txt": "^1.5.5",
  "gatsby-plugin-sass": "^5.4.0",
  "gatsby-plugin-sharp": "^4.10.1",
  "gatsby-plugin-sitemap": "^5.7.0",
  "gatsby-plugin-styled-components": "^5.4.0",
  "gatsby-source-atom": "^0.3.0",
  "gatsby-source-filesystem": "^4.4.0",
  "gatsby-source-wordpress": "^6.10.0",
  "gatsby-transformer-sharp": "^4.10.0",

Config Flags

FAST_DEV: true,

Metadata

Metadata

Assignees

Labels

status: confirmedIssue with steps to reproduce the bug that’s been verified by at least one reviewer.topic: source-pluginsRelates to the Gatsby source plugins (e.g. -filesystem)topic: source-wordpressRelated to Gatsby's integration with WordPresstype: bugAn issue or pull request relating to a bug in Gatsby

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions