Git Product home page Git Product logo

gatsby-transformer-inline-svg's Introduction

gatsby-transformer-inline-svg

npm npm

Maintainability Contributor Covenant

Read and optimize (Contentful) SVG file nodes to render them inline in your website.

If you want to render static SVG files, use https://www.gatsbyjs.org/packages/gatsby-plugin-react-svg/.

Features

  • Read content of your SVG files from gatsby-source-contentful and gatsby-source-filesystem.
  • Provides original SVG content for further processing
  • Optimizes output via SVGO
  • Provides a compact data URI via mini-svg-data-uri
  • Downloads svg and caches it via createRemoteFileNode

Installation

npm i gatsby-transformer-inline-svg

Usage

Pass your server connection credentials, the remote cache directory and the directories you want to cache to the plugin options in your gatsby-config.js:

gatsby-config.js:

module.exports = {
  plugins: [
    `gatsby-transformer-inline-svg`
  ]
}

GraphQL Query:

... on ContentfulAsset {
  svg {
    content # SVG content optimized with SVGO
    originalContent # Original SVG content
    dataURI # Optimized SVG as compact dataURI
    absolutePath #
    relativePath #
  }
  file {
    contentType
    url
    fileName
  }
}
... on File {
  svg {
    content # SVG content optimized with SVGO
    originalContent # Original SVG content
    dataURI # Optimized SVG as compact dataURI
    absolutePath #
    relativePath #
  }
  absolutePath
  name
  internal {
    mediaType
  }
}

Rendering:

import React from 'react'
import propTypes from 'prop-types'
import GatsbyImage from 'gatsby-plugin-image'

// Render inline SVG with fallback non-svg images
export default function Image({ svg, gatsbyImageData, file, alt }) {
  if (file.contentType === 'image/svg+xml') {
    if (svg && svg.content) {
      // Inlined SVGs
      return <div dangerouslySetInnerHTML={{ __html: svg.content }} />
    }

    // SVGs that can/should not be inlined
    return <img src={file.url} alt={alt} />
  }

  // Non SVG images
  return <GatsbyImage image={gatsbyImageData} alt={alt} />
}

gatsby-transformer-inline-svg's People

Contributors

axe312ger avatar bobeagan avatar coreyward avatar dependabot[bot] avatar renovate-bot avatar renovate[bot] avatar wardpeet avatar xmokax avatar zubhav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gatsby-transformer-inline-svg's Issues

gatsby-source-filesystem support and v2

Hey @axe312ger,
I noticed that this plugin doesn't support File nodes so I tried making a pull request adding support for gatsby-source-filesystem but it turns out that the plugin is tied to ContentfulAssets.

So I've created another plugin gatsby-transformer-inline-svg-v2 which supports gatsby-source-filesystem but it doesn't yet support caching, dataURI or passing SVGO options.

I was hoping if we could merge the two plugins and try to move the contentful specific parts into a plugin of its own since it would be better for a plugin with the name gatsby-transformer-inline-svg to be CMS agnostic, what do you think?

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: renovate.json
Error type: Invalid JSON (parsing failed)
Message: Syntax error: expecting String near } ] }

Project supported / need any help?

This seems like exactly what we were looking for. We're using Gatsby and Contentful.. let me know if there's anything to be aware of or if you need help on anything

Since upgrading to Node 18, styles are removed from the optimized content.

While before my upgrade to Node 18 (in order to upgrade to Gatsby 5), styles are no longer available from the svg content.

However, for simple images (my test image), it still seems to work correctly. For complicated images like the one below, most styling disappears.

I wanted to play around with the configuration for SVGO to find out what's wrong but there seems to be no possibility to tune the SVGO configuration.

How can I either fix this or tune the SVGO configuration?

Original SVG

<?xml version="1.0" encoding="utf-8"?>
        <!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
     viewBox="0 0 1080 754.14" style="enable-background:new 0 0 1080 754.14;" xml:space="preserve">
<style type="text/css">
	.st0{fill:#87CA87;}
	.st1{fill:#FFFFFF;}
	.st2{fill:#29B329;}
	.st3{fill:#004600;}
	.st4{fill:none;stroke:#004600;stroke-width:0.3842;stroke-miterlimit:10;stroke-dasharray:1.921,2.6894;}
	.st5{fill:#FDD6A9;}
	.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#004600;}
	.st7{fill:#CCCCCC;}
	.st8{fill:#904D00;}
	.st9{fill:#FDA9A9;}
</style>
    <g>
	<path class="st0" d="M987.5,669.83h-895c-14.08,0-25.5-11.42-25.5-25.5V25.5C67,11.42,78.42,0,92.5,0h895
		c14.08,0,25.5,11.42,25.5,25.5v618.83C1013,658.41,1001.58,669.83,987.5,669.83z"/>
        <path class="st1" d="M975.83,641.99H104.17c-8.37,0-15.16-6.79-15.16-15.16V42.99c0-8.37,6.79-15.16,15.16-15.16h871.66
		c8.37,0,15.16,6.79,15.16,15.16v583.84C990.99,635.2,984.2,641.99,975.83,641.99z"/>
        <rect x="225.51" y="48.54" class="st0" width="70.89" height="25.96"/>
        <rect x="114.69" y="119.42" class="st0" width="52.91" height="25.96"/>
        <rect x="773.62" y="48.54" class="st0" width="70.89" height="25.96"/>
        <rect x="894.43" y="48.54" class="st0" width="70.89" height="25.96"/>
        <rect x="245.45" y="505.7" class="st2" width="44.47" height="43.05"/>
        <rect x="340.33" y="496.03" class="st0" width="44.47" height="43.05"/>
        <rect x="804.25" y="325.45" class="st0" width="44.47" height="43.05"/>
        <rect x="238.58" y="110.57" class="st0" width="44.47" height="43.05"/>
        <rect x="208.93" y="490.13" class="st3" width="44.47" height="43.05"/>
        <rect x="858.12" y="325.13" class="st2" width="44.47" height="43.05"/>
        <rect x="778.93" y="111.16" class="st2" width="44.47" height="43.05"/>
        <rect x="773.94" y="252.93" class="st2" width="44.47" height="43.05"/>
        <rect x="808.89" y="262.91" class="st2" width="44.47" height="43.05"/>
        <rect x="219.17" y="359.59" class="st3" width="44.47" height="43.05"/>
        <rect x="886.62" y="184.79" class="st3" width="44.47" height="43.05"/>
        <rect x="114.69" y="189.31" class="st0" width="52.91" height="25.96"/>
        <rect x="114.69" y="262.19" class="st0" width="52.91" height="25.96"/>
        <rect x="114.69" y="335.08" class="st0" width="52.91" height="25.96"/>
        <rect x="114.69" y="407.96" class="st0" width="52.91" height="25.96"/>
        <rect x="114.69" y="480.84" class="st0" width="52.91" height="25.96"/>
        <rect x="222.83" y="252.93" class="st2" width="44.47" height="43.05"/>
</g>
    <g>
	<path class="st3" d="M945.92,541.58l-155.38,88.3c-9.35,5.3-21.18,1.93-26.43-7.53l-70.95-128.16c-5.23-9.48-1.91-21.46,7.43-26.78
		l155.38-88.3c9.35-5.3,21.18-1.93,26.43,7.53l70.95,128.16C958.59,524.28,955.26,536.26,945.92,541.58z"/>
        <path class="st1" d="M934.87,537.8l-141.38,79.3c-8.51,4.76-19.27,1.73-24.05-6.76l-64.56-115.1c-4.76-8.51-1.73-19.27,6.76-24.05
		l141.38-79.3c8.51-4.76,19.27-1.73,24.05,6.76l64.56,115.1C946.4,522.26,943.37,533.02,934.87,537.8z"/>
        <path id="b0898467-4323-4072-9ee9-29d386bbe07d_1_" class="st2" d="M780.58,503.78l-21.78,12.21c-1.48,0.83-3.35,0.3-4.19-1.18
		l-14.41-25.7c-0.83-1.48-0.3-3.35,1.18-4.19l21.78-12.21c1.48-0.83,3.35-0.3,4.19,1.18l14.41,25.7
		C782.59,501.08,782.06,502.95,780.58,503.78L780.58,503.78z"/>
        <path id="aea6c33f-bf9b-47d5-9d2e-017fc614339c_1_" class="st2" d="M877.53,473.72l-108.9,61.08c-1.29,0.76-2.94,0.39-3.78-0.84
		c-0.81-1.28-0.43-2.96,0.85-3.77c0.04-0.03,0.08-0.05,0.13-0.08L876,468.31C879.58,469.07,879.61,472.56,877.53,473.72z"/>
        <path id="b3c0d144-cc2c-4ac0-a007-a1ff15c76ba0_1_" class="st2" d="M891.57,498.75l-108.9,61.08c-1.29,0.76-2.94,0.39-3.78-0.84
		c-0.81-1.28-0.43-2.96,0.85-3.77c0.04-0.03,0.08-0.05,0.13-0.08l110.18-61.8C893.62,494.1,893.65,497.59,891.57,498.75
		L891.57,498.75z"/>
        <path id="b05e8afe-5132-428a-bb53-4b9505cb52a3_1_" class="st2" d="M898.59,511.27l-108.9,61.08c-1.29,0.76-2.94,0.39-3.78-0.84
		c-0.81-1.28-0.43-2.96,0.85-3.77c0.04-0.03,0.08-0.05,0.13-0.08l110.18-61.8C900.64,506.62,900.68,510.11,898.59,511.27
		L898.59,511.27z"/>
        <path id="a26c59cb-bc72-4a1e-9571-41d1cd64f8ea_1_" class="st2" d="M905.61,523.79l-108.9,61.08c-1.29,0.76-2.94,0.39-3.78-0.84
		c-0.81-1.28-0.43-2.96,0.85-3.77c0.04-0.03,0.08-0.05,0.13-0.08l110.18-61.8C907.66,519.14,907.69,522.62,905.61,523.79
		L905.61,523.79z"/>
        <path id="b16b06d0-f954-457b-b4c1-332719c9f6d6_1_" class="st2" d="M884.55,486.24l-108.9,61.08c-1.29,0.76-2.94,0.39-3.78-0.84
		c-0.81-1.28-0.43-2.96,0.85-3.77c0.04-0.03,0.08-0.05,0.13-0.08l110.18-61.8C886.6,481.59,886.64,485.08,884.55,486.24
		L884.55,486.24z"/>
</g>
    <g>
	<g>
		<path class="st3" d="M678.78,282.36H401.22c-4.41,0-7.98-3.57-7.98-7.98V78.74c0-4.41,3.57-7.98,7.98-7.98h277.56
			c4.41,0,7.98,3.57,7.98,7.98v195.64C686.76,278.79,683.19,282.36,678.78,282.36z"/>
        <path class="st1" d="M670.7,270.73H409.3c-2.67,0-4.84-2.16-4.84-4.84V87.22c0-2.67,2.16-4.84,4.84-4.84h261.4
			c2.67,0,4.84,2.16,4.84,4.84v178.67C675.53,268.56,673.37,270.73,670.7,270.73z"/>
	</g>
        <g>
		<g>
			<polygon class="st0" points="465.5,248.36 465.5,228.17 485.22,207.98 502.89,195.08 521.33,175.74 543.1,167.04 571.02,167.04
				594.07,139 614.05,114.33 614.05,248.36 			"/>
            <g>
				<line class="st4" x1="466.02" y1="224.77" x2="466.02" y2="244.96"/>
                <line class="st4" x1="466.02" y1="224.77" x2="466.02" y2="226.16"/>
                <line class="st4" x1="466.02" y1="228.65" x2="466.02" y2="242.33"/>
                <line class="st4" x1="466.02" y1="243.57" x2="466.02" y2="244.96"/>
                <line class="st4" x1="487.61" y1="204.58" x2="487.61" y2="244.96"/>
                <line class="st4" x1="487.61" y1="204.58" x2="487.61" y2="205.97"/>
                <line class="st4" x1="487.61" y1="208.86" x2="487.61" y2="242.12"/>
                <line class="st4" x1="487.61" y1="243.57" x2="487.61" y2="244.96"/>
                <line class="st4" x1="508" y1="191.68" x2="508" y2="244.96"/>
                <line class="st4" x1="508" y1="191.68" x2="508" y2="193.07"/>
                <line class="st4" x1="508" y1="195.73" x2="508" y2="242.24"/>
                <line class="st4" x1="508" y1="243.57" x2="508" y2="244.96"/>
                <line class="st4" x1="529.24" y1="172.34" x2="529.24" y2="244.96"/>
                <line class="st4" x1="529.24" y1="172.34" x2="529.24" y2="173.73"/>
                <line class="st4" x1="529.24" y1="176.52" x2="529.24" y2="242.17"/>
                <line class="st4" x1="529.24" y1="243.57" x2="529.24" y2="244.96"/>
                <line class="st4" x1="550.98" y1="163.65" x2="550.98" y2="244.96"/>
                <line class="st4" x1="550.98" y1="163.65" x2="550.98" y2="165.03"/>
                <line class="st4" x1="550.98" y1="167.74" x2="550.98" y2="242.21"/>
                <line class="st4" x1="550.98" y1="243.57" x2="550.98" y2="244.96"/>
                <line class="st4" x1="571.61" y1="163.65" x2="571.61" y2="244.96"/>
                <line class="st4" x1="571.61" y1="163.65" x2="571.61" y2="165.03"/>
                <line class="st4" x1="571.61" y1="167.74" x2="571.61" y2="242.21"/>
                <line class="st4" x1="571.61" y1="243.57" x2="571.61" y2="244.96"/>
                <line class="st4" x1="593.18" y1="135.61" x2="593.18" y2="244.96"/>
                <line class="st4" x1="593.18" y1="135.61" x2="593.18" y2="137"/>
                <line class="st4" x1="593.18" y1="139.73" x2="593.18" y2="242.2"/>
                <line class="st4" x1="593.18" y1="243.57" x2="593.18" y2="244.96"/>
                <line class="st4" x1="614.01" y1="110.93" x2="614.01" y2="244.96"/>
                <line class="st4" x1="614.01" y1="110.93" x2="614.01" y2="112.32"/>
                <line class="st4" x1="614.01" y1="115.11" x2="614.01" y2="242.17"/>
                <line class="st4" x1="614.01" y1="243.57" x2="614.01" y2="244.96"/>
			</g>
            <circle class="st2" cx="466.02" cy="224.77" r="4.21"/>
            <circle class="st2" cx="487.61" cy="204.58" r="4.21"/>

            <ellipse transform="matrix(0.1602 -0.9871 0.9871 0.1602 237.4226 662.4167)" class="st2" cx="508" cy="191.68" rx="4.21" ry="4.21"/>
            <circle class="st2" cx="529.24" cy="172.34" r="4.21"/>
            <circle class="st2" cx="550.98" cy="163.65" r="4.21"/>
            <circle class="st2" cx="571.61" cy="163.65" r="4.21"/>
            <circle class="st2" cx="593.18" cy="135.61" r="4.21"/>
            <circle class="st2" cx="614.01" cy="110.93" r="4.21"/>
		</g>
            <rect x="451.46" y="102.49" class="st3" width="3.12" height="148.15"/>
            <rect x="451.5" y="247.52" class="st3" width="177.04" height="3.12"/>
	</g>
</g>
    <g>
	<g>
		<path class="st3" d="M591.51,385.99H399.89c-3.67,0-6.65-2.98-6.65-6.65v-73.5c0-3.67,2.98-6.65,6.65-6.65h191.62
			c3.67,0,6.65,2.98,6.65,6.65v73.5C598.17,383.01,595.19,385.99,591.51,385.99z"/>
        <path class="st1" d="M586.42,378.21H404.99c-2.16,0-3.91-1.75-3.91-3.91v-63.43c0-2.16,1.75-3.91,3.91-3.91h181.43
			c2.16,0,3.91,1.75,3.91,3.91v63.43C590.33,376.46,588.58,378.21,586.42,378.21z"/>
	</g>
        <g>
		<circle class="st2" cx="439.73" cy="342.58" r="18.79"/>
            <path class="st0" d="M482.45,330.06c-1.35,0-2.45,1.4-2.45,3.13s1.1,3.13,2.45,3.13h62.37c1.35,0,2.45-1.4,2.45-3.13
			s-1.1-3.13-2.45-3.13H482.45z"/>
            <path class="st0" d="M481.84,349.28c-1.02,0-1.84,1.31-1.84,2.92s0.82,2.92,1.84,2.92h86.79c1.02,0,1.84-1.31,1.84-2.92
			s-0.82-2.92-1.84-2.92H481.84z"/>
	</g>
</g>
    <g>
	<g>
		<path class="st3" d="M681.34,386.37h-64.82c-3.67,0-6.65-2.98-6.65-6.65v-73.5c0-3.67,2.98-6.65,6.65-6.65h64.82
			c3.67,0,6.65,2.98,6.65,6.65v73.5C687.99,383.4,685.01,386.37,681.34,386.37z"/>
        <path class="st1" d="M676.03,378.6h-54.2c-2.16,0-3.91-1.75-3.91-3.91v-63.43c0-2.16,1.75-3.91,3.91-3.91h54.2
			c2.16,0,3.91,1.75,3.91,3.91v63.43C679.94,376.85,678.19,378.6,676.03,378.6z"/>
	</g>
        <g>
		<circle id="b6fa6563-5e20-492f-ac6f-1d924df782c1_1_" class="st2" cx="648.93" cy="342.97" r="17.38"/>
            <path id="bcd12bac-9f30-4deb-ae50-48c1cb737c9b_1_" class="st1" d="M645.86,349.1c-0.38-0.08-0.73-0.28-0.99-0.58l-0.02-0.02
			l-3.34-3.91c-0.65-0.76-0.56-1.91,0.2-2.56s1.91-0.56,2.56,0.2l2.16,2.54l7.82-6.67c0.76-0.65,1.91-0.56,2.56,0.2l0,0l0,0
			l-0.05,0.04l0.05-0.04c0.65,0.76,0.56,1.91-0.2,2.56l-9.19,7.85C646.99,349.07,646.42,349.22,645.86,349.1L645.86,349.1z"/>
	</g>
</g>
    <g>
	<path class="st3" d="M333.34,537.49l-165.09,34.8c-9.93,2.08-19.68-4.27-21.78-14.2l-28.33-134.4c-2.08-9.93,4.27-19.68,14.2-21.78
		l165.09-34.8c9.93-2.08,19.68,4.27,21.78,14.2l28.33,134.4C349.62,525.64,343.27,535.38,333.34,537.49z"/>
        <path class="st1" d="M323.36,530.76L174.67,562.1c-8.95,1.88-17.72-3.85-19.62-12.79l-25.52-121.05
		c-1.88-8.95,3.85-17.72,12.79-19.62l148.69-31.34c8.95-1.88,17.72,3.85,19.62,12.79l25.52,121.05
		C338.02,520.08,332.3,528.86,323.36,530.76z"/>
        <path id="b3d30341-bfe2-418c-85c9-1bd82b5f5e0c_1_" class="st0" d="M285.04,413.71l-80.05,16.87c-1.45,0.34-2.92-0.51-3.36-1.94
		c-0.39-1.46,0.48-2.96,1.93-3.35c0.05-0.01,0.09-0.02,0.14-0.03l81.49-17.18C288.38,409.88,287.38,413.21,285.04,413.71
		L285.04,413.71z"/>
        <path id="ba7e3b3b-1e3b-4053-b678-ceb2b593f6ee_1_" class="st0" d="M288,427.75l-80.05,16.87c-1.45,0.34-2.92-0.51-3.36-1.94
		c-0.39-1.46,0.48-2.96,1.93-3.35c0.05-0.01,0.09-0.02,0.14-0.03l81.49-17.18C291.34,423.92,290.34,427.26,288,427.75L288,427.75z"
        />
        <path id="f6076b75-2d9c-4839-8b09-e00257d358cf_1_" class="st0" d="M192.33,456.26l-24.43,5.15c-1.66,0.35-3.29-0.71-3.64-2.37
		l-6.08-28.83c-0.35-1.66,0.71-3.29,2.37-3.64l24.43-5.15c1.66-0.35,3.29,0.71,3.64,2.37l6.08,28.83
		C195.05,454.28,193.99,455.91,192.33,456.26z"/>
        <path id="acc57b87-b2e4-43d3-aa96-a8e2462d330c_1_" class="st0" d="M293.83,456.55L171.65,482.3c-1.45,0.34-2.92-0.51-3.36-1.94
		c-0.39-1.46,0.48-2.96,1.93-3.35c0.05-0.01,0.09-0.02,0.14-0.03l123.61-26.06C297.17,452.72,296.16,456.06,293.83,456.55
		L293.83,456.55z"/>
        <path id="e5415755-f7b6-4857-8e09-1413b7f93e97_1_" class="st0" d="M296.79,470.59l-122.18,25.75c-1.45,0.34-2.92-0.51-3.36-1.94
		c-0.39-1.46,0.48-2.96,1.93-3.35c0.05-0.01,0.09-0.02,0.14-0.03l123.61-26.06C300.13,466.77,299.12,470.1,296.79,470.59z"/>
        <path id="afce3f4d-2700-4434-8207-f3b7a686e1c3_1_" class="st0" d="M299.75,484.63l-122.18,25.75c-1.45,0.34-2.92-0.51-3.36-1.94
		c-0.39-1.46,0.48-2.96,1.93-3.35c0.05-0.01,0.09-0.02,0.14-0.03L299.89,479C303.09,480.8,302.08,484.14,299.75,484.63
		L299.75,484.63z"/>
        <path id="abb1f551-863d-408b-9aec-d87e952e72e4_1_" class="st0" d="M302.71,498.68l-122.18,25.75c-1.45,0.34-2.92-0.51-3.36-1.94
		c-0.39-1.46,0.48-2.96,1.93-3.35c0.05-0.01,0.09-0.02,0.14-0.03l123.61-26.06C306.05,494.85,305.04,498.18,302.71,498.68
		L302.71,498.68z"/>
        <path id="bbed1b24-9150-4534-8e9c-e5347be55157_1_" class="st0" d="M305.67,512.71l-122.18,25.76c-1.45,0.34-2.92-0.51-3.36-1.94
		c-0.39-1.46,0.48-2.96,1.93-3.35c0.05-0.01,0.09-0.02,0.14-0.03l123.61-26.06C309.01,508.89,308,512.22,305.67,512.71
		L305.67,512.71z"/>
</g>
    <g>
	<path class="st5" d="M327.24,448.43c-0.28,0.5-0.51,1.03-0.71,1.57l-50.02,12.41l-8.7-9l-15.3,11.36l13.86,17.43
		c2.3,2.89,6.23,3.92,9.65,2.52l54.27-22.18c4.85,3.57,11.68,2.53,15.25-2.32c3.57-4.85,2.53-11.68-2.32-15.25
		s-11.68-2.53-15.25,2.32C327.7,447.65,327.46,448.03,327.24,448.43L327.24,448.43z"/>
        <path class="st5" d="M156.51,558.88c5.89-1.82,9.19-8.07,7.37-13.96c-0.19-0.63-0.44-1.24-0.74-1.82l34.42-95.67l-23.9-4.24
		l-26.32,95.37c-5.31,3.2-7.02,10.1-3.82,15.41C146.19,558.41,151.56,560.44,156.51,558.88L156.51,558.88z"/>
        <polygon class="st5" points="246.46,738.5 259.2,738.49 265.26,689.36 246.45,689.36 	"/>
        <path d="M243.21,734.34h25.09l0,0c8.83,0,15.99,7.16,15.99,15.99l0,0v0.52h-41.08V734.34z"/>
        <polygon class="st5" points="174.76,738.5 187.5,738.49 193.56,689.36 174.75,689.36 	"/>
        <path d="M171.51,734.34h25.09l0,0c8.83,0,15.99,7.16,15.99,15.99l0,0v0.52h-41.08V734.34z"/>
        <path class="st3" d="M188.11,718.72h-16.12c-2.58,0-4.68-2.09-4.68-4.68c0-0.07,0-0.15,0.01-0.22l7.66-164.53l0.48-0.01l77.85-2.03
		l15.23,164.62c0.24,2.57-1.64,4.85-4.21,5.1c-0.02,0-0.05,0-0.07,0.01l-18.11,1.45c-2.35,0.19-4.48-1.41-4.95-3.72l-23.16-117.19
		c-0.13-0.74-0.78-1.27-1.53-1.25h-0.01c-0.75-0.02-1.4,0.52-1.52,1.26L192.7,714.95C192.26,717.14,190.34,718.71,188.11,718.72z"/>
        <circle class="st5" cx="217.64" cy="377.03" r="25.52"/>
        <g>
		<path class="st2" d="M193.18,464.41l-23.6-9.06c-2.58-0.99-3.87-3.89-2.88-6.47c0.09-0.23,0.19-0.45,0.31-0.67l12.38-21.95
			c2.79-7.15,10.85-10.69,18-7.9c7.12,2.78,10.67,10.79,7.92,17.93l-5.46,24.52c-0.6,2.7-3.28,4.4-5.98,3.8
			C193.65,464.57,193.41,464.5,193.18,464.41L193.18,464.41z"/>
            <path class="st2" d="M209.09,568.57c-12.16,0-24.66-3.2-35.02-12.65c-1.12-1.01-1.69-2.5-1.53-4c1.11-9.96,6.49-61.39,3.46-95.75
			c-1.2-13.01,3.79-25.83,13.46-34.61c9.51-8.76,22.58-12.55,35.29-10.22l0,0c0.32,0.06,0.64,0.12,0.95,0.18
			c20.43,3.95,34.63,22.87,33.02,43.99c-2.34,30.82-4.45,72.51-1.15,96.09c0.28,1.98-0.73,3.91-2.51,4.82
			C247.57,560.21,228.76,568.57,209.09,568.57z"/>
            <path class="st2" d="M242.39,466.24c-1.21-0.81-2.01-2.1-2.19-3.54l-3.11-24.93c-2.06-7.4,2.27-15.06,9.66-17.12
			c7.37-2.05,15.01,2.23,17.1,9.59l10.24,23.03c1.12,2.53-0.01,5.48-2.54,6.61c-0.22,0.1-0.46,0.18-0.69,0.25l-24.35,6.78
			C245.1,467.29,243.6,467.05,242.39,466.24z"/>
	</g>
        <path d="M208.73,402.19c-2.42,0.04-4.82-0.39-7.06-1.28c-0.99-0.38-2.01-0.69-3-1.08c-8.71-3.37-14.46-12.65-14.66-21.99
		c-0.21-9.34,4.63-18.41,11.81-24.38c7.18-5.97,16.49-9.04,25.8-9.75c10.03-0.76,21.33,1.78,26.94,10.14
		c1.49,2.22,2.54,4.92,1.65,7.61c-0.26,0.81-0.74,1.54-1.37,2.11c-2.5,2.23-5,0.55-7.55,0.4c-3.51-0.2-6.66,2.64-7.79,5.96
		c-1.13,3.33-0.63,6.99,0.28,10.38c0.7,2.04,1.14,4.16,1.31,6.31c0.15,2.19-0.84,4.31-2.63,5.59c-2.19,1.33-5.07,0.56-7.27-0.76
		c-2.19-1.32-4.09-3.16-6.46-4.14c-2.37-0.97-5.55-0.76-6.93,1.4c-0.44,0.79-0.74,1.64-0.88,2.53
		C209.69,396.89,209.97,396.56,208.73,402.19L208.73,402.19z"/>
        <path class="st6" d="M221.49,433.52c3.66,0.97,7,2.89,9.69,5.56c2.67,2.68,4.59,6.02,5.57,9.68l-4.8,4.8H216.7v-15.25
		L221.49,433.52z M231.94,455.1h-15.25v15.25l4.8,4.8c3.66-0.97,7-2.89,9.68-5.57c2.67-2.69,4.59-6.03,5.56-9.69L231.94,455.1z
		 M215.17,470.35V455.1h-15.25l-4.8,4.8c0.97,3.66,2.89,7,5.57,9.68c2.69,2.67,6.03,4.59,9.69,5.56L215.17,470.35z M199.92,453.57
		h15.25v-15.25l-4.8-4.8c-3.66,0.97-7,2.89-9.68,5.57c-2.67,2.69-4.59,6.03-5.56,9.69L199.92,453.57z"/>
</g>
    <path id="b4188fdd-8694-46fd-b6a9-2365408da1f7_1_" class="st7" d="M856.35,435.46L785,475.48c-1.29,0.76-2.94,0.39-3.78-0.84
	c-0.81-1.28-0.43-2.96,0.85-3.77c0.04-0.03,0.08-0.05,0.13-0.08l72.63-40.74C858.39,430.81,858.42,434.3,856.35,435.46
	L856.35,435.46z"/>
    <path id="e79bc6ad-6d6d-496e-bd80-f918a84d8140_1_" class="st7" d="M863.37,447.98L792.02,488c-1.29,0.76-2.94,0.39-3.78-0.84
	c-0.81-1.28-0.43-2.96,0.85-3.77c0.04-0.03,0.08-0.05,0.13-0.08l72.63-40.74C865.41,443.33,865.45,446.81,863.37,447.98
	L863.37,447.98z"/>
    <g>
	<path class="st8" d="M886.61,570.67c2.24-4.94,0.05-10.76-4.89-13c-0.53-0.24-1.07-0.43-1.63-0.57l-2.96-34.78l-14.24,11.24
		l5,31.31c-0.99,5.36,2.55,10.52,7.92,11.51C880.28,577.2,884.76,574.84,886.61,570.67z"/>
        <polygon class="st8" points="919.4,725.92 908.44,730.73 884.65,690.72 900.84,683.62 	"/>
        <polygon class="st8" points="772.17,739.23 760.19,739.23 754.5,693.04 772.17,693.04 	"/>
        <path d="M775.22,750.85H736.6v-0.49c0-8.3,6.73-15.03,15.03-15.03l0,0l0,0h23.59L775.22,750.85z"/>
        <path class="st3" d="M888.78,723.44l-66.72-148.89c-0.32-0.74-1.18-1.09-1.93-0.77c-0.41,0.18-0.72,0.53-0.83,0.96l-40.65,143.81
		c-0.55,2.08-2.54,3.45-4.68,3.22l-22.2-2.22c-2.38-0.25-4.13-2.35-3.95-4.73c7.06-87.83,18.19-170.73,51.54-224.99l0.18-0.29
		l50.44,9.89l67.34,214.45c0.69,2.3-0.58,4.73-2.86,5.47l-20.31,6.53C892,726.59,889.67,725.53,888.78,723.44L888.78,723.44z"/>
        <circle class="st8" cx="823.92" cy="389.57" r="23.99"/>
        <path class="st8" d="M731.94,539.64c5.37-0.79,9.08-5.79,8.28-11.15c-0.08-0.57-0.22-1.14-0.4-1.68l27.64-21.33l-17.16-5.89
		l-23.61,21.16c-5.05,2.07-7.46,7.84-5.39,12.89C723.03,537.85,727.43,540.33,731.94,539.64L731.94,539.64z"/>
        <g>
		<path class="st0" d="M877.4,553.45l-11.83,1.41c-2.41,0.29-4.6-1.43-4.89-3.85c-0.01-0.11-0.02-0.22-0.03-0.33l-1.73-39.91
			l-22.42-61.25c-1.83-3.86-1.58-8.38,0.67-12.02c0.55-0.86,1.18-1.68,1.88-2.42c2.8-3.02,6.9-4.47,10.98-3.9
			c4.2,0.56,7.87,3.11,9.85,6.85l14.62,30.64c6.12,12.82,9,26.93,8.41,41.12l-1.65,39.47c-0.09,2.13-1.7,3.89-3.81,4.17
			L877.4,553.45z"/>
            <path class="st0" d="M796.26,493.99l-0.31-0.06l-0.07-0.3c-3.23-13.65-3.31-28.55-0.23-44.27c3.23-16.59,17.92-28.47,34.82-28.13
			l0,0c18.44,0.37,33.4,15.06,34.1,33.49c1.03,27.05-10.03,50.5-10.14,50.74l-0.16,0.34L796.26,493.99z"/>
            <path class="st0" d="M747.03,523.55c-1.86,1.1-4.24,0.68-5.61-0.99l-7.59-9.18c-1.55-1.87-1.29-4.64,0.59-6.19
			c0.09-0.07,0.17-0.14,0.26-0.2l32.61-23.06l39.35-52.02c2.26-3.63,6.2-5.87,10.47-5.95c1.02-0.01,2.05,0.08,3.05,0.27l0,0
			c4.05,0.72,7.5,3.38,9.22,7.12c1.8,3.83,1.65,8.3-0.42,11.99l-29.14,47.18l-0.06,0.1L747.03,523.55z"/>
	</g>
        <path class="st6" d="M853.29,434.56c3.66,0.97,7,2.89,9.69,5.56c2.67,2.68,4.59,6.02,5.57,9.68l-4.8,4.8H848.5v-15.25
		L853.29,434.56z M863.74,456.13h-15.25v15.25l4.8,4.8c3.66-0.97,7-2.89,9.68-5.57c2.67-2.69,4.59-6.03,5.56-9.69L863.74,456.13z
		 M846.97,471.39v-15.25h-15.25l-4.8,4.8c0.97,3.66,2.89,7,5.57,9.68c2.69,2.67,6.03,4.59,9.69,5.56L846.97,471.39z M831.72,454.61
		h15.25v-15.25l-4.8-4.8c-3.66,0.97-7,2.89-9.68,5.57c-2.67,2.69-4.59,6.03-5.56,9.69L831.72,454.61z"/>
        <path d="M828.21,388.08c-1.77-2.91-5.67-3.73-9.06-3.4s-6.68,1.52-10.09,1.5c-9.45-0.07-16.75-11.59-12.78-20.17
		c3.26-7.03,11.4-10.12,18.76-12.55c15.44-5.08,33.17-9.97,47.19-1.73c9.09,5.51,14.49,15.5,14.11,26.12
		c-0.32,6.49-2.8,13.15-0.7,19.29c2.42,7.09,10.11,10.89,17.37,12.73c12.73,3.22,26.15,2.71,38.96,5.6
		c12.81,2.89,25.94,10.57,29.39,23.24c2.27,8.32-0.1,17.28-4.02,24.97c-16.23,31.81-55.17,44.45-86.98,28.22
		c-1.09-0.56-2.17-1.14-3.23-1.76c-15.49-9.04-26.67-24.33-33.33-40.97c-3.78-9.71-6.44-19.82-7.93-30.13
		c-1.49-9.65-0.23-19.41,2.48-28.8C828.62,389.53,828.57,388.75,828.21,388.08z"/>
        <path d="M926.87,735.32l-35.36,15.52l-0.2-0.45c-3.34-7.6,0.12-16.47,7.72-19.81l0,0l0,0l21.6-9.48L926.87,735.32z"/>
</g>
    <g>
	<path class="st9" d="M404.23,360.02c5.43,1.95,8.25,7.94,6.29,13.37c-0.21,0.58-0.47,1.14-0.77,1.67l24.34,28.05l-19.13,2.53
		l-20.18-27.02c-4.83-3.22-6.13-9.74-2.91-14.57C394.56,360.01,399.67,358.35,404.23,360.02z"/>
        <path class="st9" d="M566.73,371.25c-1.96,5.43,0.85,11.42,6.28,13.38c0.58,0.21,1.17,0.37,1.78,0.47l6.06,36.64L595,408.63
		l-7.92-32.78c0.6-5.77-3.59-10.94-9.36-11.54C572.89,363.8,568.35,366.67,566.73,371.25L566.73,371.25z"/>
        <polygon class="st9" points="528.69,741.79 515.95,741.79 509.89,692.65 528.7,692.65 	"/>
        <path d="M531.94,737.63h-25.09l0,0c-8.83,0-15.99,7.16-15.99,15.99l0,0v0.52h41.08V737.63z"/>
        <polygon class="st9" points="594.16,741.79 581.42,741.79 575.36,692.65 594.16,692.65 	"/>
        <path d="M597.41,737.63h-25.09l0,0c-8.83,0-15.99,7.16-15.99,15.99l0,0v0.52h41.08V737.63z"/>

        <ellipse transform="matrix(0.9239 -0.3827 0.3827 0.9239 -105.2716 232.3239)" class="st9" cx="531.35" cy="380.78" rx="25.52" ry="25.52"/>
        <path class="st3" d="M534.41,725.47L536.52,591c0.01-0.86,0.72-1.55,1.58-1.54c0.71,0.01,1.33,0.5,1.49,1.2l34.59,131.53
		c0.54,2.17,2.52,3.67,4.75,3.59l19.01-0.81c2.58-0.11,4.58-2.29,4.47-4.87c-0.01-0.13-0.02-0.26-0.03-0.38L573.03,550.7l-0.06-0.48
		l-81.76,3.87l-0.53,0.02l17.53,171.64c0.19,2.44,2.22,4.32,4.66,4.33h16.86C532.29,730.07,534.37,728.02,534.41,725.47z"/>
        <path class="st3" d="M469.84,565.47l118.65-9.74c2.57-0.21,4.49-2.47,4.28-5.04c-0.03-0.41-0.12-0.82-0.26-1.21l-18.68-51.66
		l-1.08-61.31c-0.16-9.29-7.82-16.68-17.11-16.52c-0.07,0-0.14,0-0.21,0.01l-7.89-7.15h-28.91l-2.52,3.3L496,419.24
		c-7.36,1.16-13.09,7-14.11,14.37l-17.06,126.57c-0.34,2.56,1.45,4.91,4.01,5.26c0.2,0.03,0.41,0.04,0.62,0.04
		C469.58,565.49,469.71,565.48,469.84,565.47z"/>
        <path class="st3" d="M492.95,425.19l-50.59-14.82l-22.9-30.14c-1.3-1.71-3.59-2.31-5.56-1.47l-14.29,6.11
		c-2.37,1.01-3.48,3.76-2.46,6.14c0.08,0.18,0.16,0.35,0.26,0.52l17.11,29.36c2.79,4.8,7.03,8.6,12.11,10.83l59.5,26.3
		L492.95,425.19z"/>
        <path class="st3" d="M590.01,447.36c6.15-4.43,9.54-11.75,8.94-19.3l-2.22-29.42c-0.19-2.44-2.22-4.32-4.66-4.32h-0.04l-16.76,0.15
		c-2.58,0.02-4.66,2.14-4.63,4.72c0,0.29,0.03,0.57,0.09,0.86l3.11,15.87l-22.2,9.38l18.69,36.36L590.01,447.36z"/>
        <path d="M516.51,350.18c0,0,26.69-14.37,41.24,2.59s-5.54,43.49-5.54,43.49l-28.63,3.61c0,0-1.04-19.46-7.85-19.08
		C508.9,381.16,487.74,356.6,516.51,350.18z"/>
</g>
</svg>

After using gatsby-transformer-inline-svg:

<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 1080 754.14">
    <path d="M987.5 669.83h-895a25.5 25.5 0 0 1-25.5-25.5V25.5A25.5 25.5 0 0 1 92.5 0h895a25.5 25.5 0 0 1 25.5 25.5v618.83a25.5 25.5 0 0 1-25.5 25.5z" class="homepage-roadmap__2__svg__st0"/>
    <path d="M975.83 641.99H104.17a15.16 15.16 0 0 1-15.16-15.16V42.99c0-8.37 6.79-15.16 15.16-15.16h871.66c8.37 0 15.16 6.79 15.16 15.16v583.84c0 8.37-6.79 15.16-15.16 15.16z" class="homepage-roadmap__2__svg__st1"/>
    <path d="M225.51 48.54h70.89V74.5h-70.89zm-110.82 70.88h52.91v25.96h-52.91zm658.93-70.88h70.89V74.5h-70.89zm120.81 0h70.89V74.5h-70.89z" class="homepage-roadmap__2__svg__st0"/>
    <path d="M245.45 505.7h44.47v43.05h-44.47z" class="homepage-roadmap__2__svg__st2"/>
    <path d="M340.33 496.03h44.47v43.05h-44.47zm463.92-170.58h44.47v43.05h-44.47zM238.58 110.57h44.47v43.05h-44.47z" class="homepage-roadmap__2__svg__st0"/>
    <path d="M208.93 490.13h44.47v43.05h-44.47z" class="homepage-roadmap__2__svg__st3"/>
    <path d="M858.12 325.13h44.47v43.05h-44.47zm-79.19-213.97h44.47v43.05h-44.47zm-4.99 141.77h44.47v43.05h-44.47z" class="homepage-roadmap__2__svg__st2"/>
    <path d="M808.89 262.91h44.47v43.05h-44.47z" class="homepage-roadmap__2__svg__st2"/>
    <path d="M219.17 359.59h44.47v43.05h-44.47zm667.45-174.8h44.47v43.05h-44.47z" class="homepage-roadmap__2__svg__st3"/>
    <path d="M114.69 189.31h52.91v25.96h-52.91zm0 72.88h52.91v25.96h-52.91zm0 72.89h52.91v25.96h-52.91zm0 72.88h52.91v25.96h-52.91zm0 72.88h52.91v25.96h-52.91z" class="homepage-roadmap__2__svg__st0"/>
    <path d="M222.83 252.93h44.47v43.05h-44.47z" class="homepage-roadmap__2__svg__st2"/>
    <path d="m945.92 541.58-155.38 88.3a19.3 19.3 0 0 1-26.43-7.53l-70.95-128.16a19.83 19.83 0 0 1 7.43-26.78l155.38-88.3a19.3 19.3 0 0 1 26.43 7.53l70.95 128.16a19.82 19.82 0 0 1-7.43 26.78z" class="homepage-roadmap__2__svg__st3"/>
    <path d="m934.87 537.8-141.38 79.3a17.7 17.7 0 0 1-24.05-6.76l-64.56-115.1a17.7 17.7 0 0 1 6.76-24.05l141.38-79.3a17.7 17.7 0 0 1 24.05 6.76l64.56 115.1a17.68 17.68 0 0 1-6.76 24.05z" class="homepage-roadmap__2__svg__st1"/>
    <path d="m780.58 503.78-21.78 12.21c-1.48.83-3.35.3-4.19-1.18l-14.41-25.7a3.08 3.08 0 0 1 1.18-4.19l21.78-12.21a3.08 3.08 0 0 1 4.19 1.18l14.41 25.7c.83 1.49.3 3.36-1.18 4.19zm96.95-30.06-108.9 61.08a2.83 2.83 0 0 1-3.78-.84 2.73 2.73 0 0 1 .85-3.77l.13-.08L876 468.31c3.58.76 3.61 4.25 1.53 5.41zm14.04 25.03-108.9 61.08a2.83 2.83 0 0 1-3.78-.84 2.73 2.73 0 0 1 .85-3.77l.13-.08 110.18-61.8c3.57.76 3.6 4.25 1.52 5.41zm7.02 12.52-108.9 61.08a2.83 2.83 0 0 1-3.78-.84 2.73 2.73 0 0 1 .85-3.77l.13-.08 110.18-61.8c3.57.76 3.61 4.25 1.52 5.41zm7.02 12.52-108.9 61.08a2.83 2.83 0 0 1-3.78-.84 2.73 2.73 0 0 1 .85-3.77l.13-.08 110.18-61.8c3.57.76 3.6 4.24 1.52 5.41zm-21.06-37.55-108.9 61.08a2.83 2.83 0 0 1-3.78-.84 2.73 2.73 0 0 1 .85-3.77l.13-.08 110.18-61.8c3.57.76 3.61 4.25 1.52 5.41z" class="homepage-roadmap__2__svg__st2"/>
    <path d="M678.78 282.36H401.22a7.98 7.98 0 0 1-7.98-7.98V78.74a7.98 7.98 0 0 1 7.98-7.98h277.56a7.98 7.98 0 0 1 7.98 7.98v195.64a7.98 7.98 0 0 1-7.98 7.98z" class="homepage-roadmap__2__svg__st3"/>
    <path d="M670.7 270.73H409.3a4.84 4.84 0 0 1-4.84-4.84V87.22a4.84 4.84 0 0 1 4.84-4.84h261.4a4.84 4.84 0 0 1 4.84 4.84v178.67a4.85 4.85 0 0 1-4.84 4.84z" class="homepage-roadmap__2__svg__st1"/>
    <path d="M465.5 248.36v-20.19l19.72-20.19 17.67-12.9 18.44-19.34 21.77-8.7h27.92L594.07 139l19.98-24.67v134.03z" class="homepage-roadmap__2__svg__st0"/>
    <path d="M466.02 224.77v20.19m0-20.19v1.39m0 2.49v13.68m0 1.24v1.39m21.59-40.38v40.38m0-40.38v1.39m0 2.89v33.26m0 1.45v1.39M508 191.68v53.28m0-53.28v1.39m0 2.66v46.51m0 1.33v1.39m21.24-72.62v72.62m0-72.62v1.39m0 2.79v65.65m0 1.4v1.39m21.74-81.31v81.31m0-81.31v1.38m0 2.71v74.47m0 1.36v1.39m20.63-81.31v81.31m0-81.31v1.38m0 2.71v74.47m0 1.36v1.39m21.57-109.35v109.35m0-109.35V137m0 2.73V242.2m0 1.37v1.39m20.83-134.03v134.03m0-134.03v1.39m0 2.79v127.06m0 1.4v1.39" class="homepage-roadmap__2__svg__st4"/>
    <circle cx="466.02" cy="224.77" r="4.21" class="homepage-roadmap__2__svg__st2"/>
    <circle cx="487.61" cy="204.58" r="4.21" class="homepage-roadmap__2__svg__st2"/>
    <circle cx="508" cy="191.68" r="4.21" class="homepage-roadmap__2__svg__st2" transform="rotate(-80.78 508 191.67)"/>
    <circle cx="529.24" cy="172.34" r="4.21" class="homepage-roadmap__2__svg__st2"/>
    <circle cx="550.98" cy="163.65" r="4.21" class="homepage-roadmap__2__svg__st2"/>
    <circle cx="571.61" cy="163.65" r="4.21" class="homepage-roadmap__2__svg__st2"/>
    <circle cx="593.18" cy="135.61" r="4.21" class="homepage-roadmap__2__svg__st2"/>
    <circle cx="614.01" cy="110.93" r="4.21" class="homepage-roadmap__2__svg__st2"/>
    <path d="M451.46 102.49h3.12v148.15h-3.12z" class="homepage-roadmap__2__svg__st3"/>
    <path d="M451.5 247.52h177.04v3.12H451.5zm140.01 138.47H399.89a6.65 6.65 0 0 1-6.65-6.65v-73.5a6.65 6.65 0 0 1 6.65-6.65h191.62a6.65 6.65 0 0 1 6.65 6.65v73.5a6.64 6.64 0 0 1-6.65 6.65z" class="homepage-roadmap__2__svg__st3"/>
    <path d="M586.42 378.21H404.99a3.9 3.9 0 0 1-3.91-3.91v-63.43a3.9 3.9 0 0 1 3.91-3.91h181.43a3.9 3.9 0 0 1 3.91 3.91v63.43a3.9 3.9 0 0 1-3.91 3.91z" class="homepage-roadmap__2__svg__st1"/>
    <circle cx="439.73" cy="342.58" r="18.79" class="homepage-roadmap__2__svg__st2"/>
    <path d="M482.45 330.06c-1.35 0-2.45 1.4-2.45 3.13s1.1 3.13 2.45 3.13h62.37c1.35 0 2.45-1.4 2.45-3.13s-1.1-3.13-2.45-3.13h-62.37zm-.61 19.22c-1.02 0-1.84 1.31-1.84 2.92s.82 2.92 1.84 2.92h86.79c1.02 0 1.84-1.31 1.84-2.92s-.82-2.92-1.84-2.92h-86.79z" class="homepage-roadmap__2__svg__st0"/>
    <path d="M681.34 386.37h-64.82a6.65 6.65 0 0 1-6.65-6.65v-73.5a6.65 6.65 0 0 1 6.65-6.65h64.82a6.65 6.65 0 0 1 6.65 6.65v73.5a6.65 6.65 0 0 1-6.65 6.65z" class="homepage-roadmap__2__svg__st3"/>
    <path d="M676.03 378.6h-54.2a3.9 3.9 0 0 1-3.91-3.91v-63.43a3.9 3.9 0 0 1 3.91-3.91h54.2a3.9 3.9 0 0 1 3.91 3.91v63.43a3.9 3.9 0 0 1-3.91 3.91z" class="homepage-roadmap__2__svg__st1"/>
    <circle cx="648.93" cy="342.97" r="17.38" class="homepage-roadmap__2__svg__st2"/>
    <path d="M645.86 349.1a1.8 1.8 0 0 1-.99-.58l-.02-.02-3.34-3.91a1.82 1.82 0 0 1 2.76-2.36l2.16 2.54 7.82-6.67a1.82 1.82 0 0 1 2.56.2l-.05.04.05-.04c.65.76.56 1.91-.2 2.56l-9.19 7.85c-.43.36-1 .51-1.56.39z" class="homepage-roadmap__2__svg__st1"/>
    <path d="m333.34 537.49-165.09 34.8a18.4 18.4 0 0 1-21.78-14.2l-28.33-134.4a18.4 18.4 0 0 1 14.2-21.78l165.09-34.8a18.4 18.4 0 0 1 21.78 14.2l28.33 134.4a18.41 18.41 0 0 1-14.2 21.78z" class="homepage-roadmap__2__svg__st3"/>
    <path d="M323.36 530.76 174.67 562.1a16.58 16.58 0 0 1-19.62-12.79l-25.52-121.05a16.58 16.58 0 0 1 12.79-19.62l148.69-31.34a16.58 16.58 0 0 1 19.62 12.79l25.52 121.05a16.6 16.6 0 0 1-12.79 19.62z" class="homepage-roadmap__2__svg__st1"/>
    <path d="m285.04 413.71-80.05 16.87a2.84 2.84 0 0 1-3.36-1.94 2.74 2.74 0 0 1 1.93-3.35l.14-.03 81.49-17.18c3.19 1.8 2.19 5.13-.15 5.63zm2.96 14.04-80.05 16.87a2.84 2.84 0 0 1-3.36-1.94 2.74 2.74 0 0 1 1.93-3.35l.14-.03 81.49-17.18c3.19 1.8 2.19 5.14-.15 5.63zm-95.67 28.51-24.43 5.15a3.07 3.07 0 0 1-3.64-2.37l-6.08-28.83a3.07 3.07 0 0 1 2.37-3.64l24.43-5.15a3.07 3.07 0 0 1 3.64 2.37l6.08 28.83a3.07 3.07 0 0 1-2.37 3.64zm101.5.29L171.65 482.3a2.84 2.84 0 0 1-3.36-1.94 2.74 2.74 0 0 1 1.93-3.35l.14-.03 123.61-26.06c3.2 1.8 2.19 5.14-.14 5.63zm2.96 14.04-122.18 25.75a2.84 2.84 0 0 1-3.36-1.94 2.74 2.74 0 0 1 1.93-3.35l.14-.03 123.61-26.06c3.2 1.81 2.19 5.14-.14 5.63zm2.96 14.04-122.18 25.75a2.84 2.84 0 0 1-3.36-1.94 2.74 2.74 0 0 1 1.93-3.35l.14-.03L299.89 479c3.2 1.8 2.19 5.14-.14 5.63zm2.96 14.05-122.18 25.75a2.84 2.84 0 0 1-3.36-1.94 2.74 2.74 0 0 1 1.93-3.35l.14-.03 123.61-26.06c3.2 1.8 2.19 5.13-.14 5.63zm2.96 14.03-122.18 25.76a2.84 2.84 0 0 1-3.36-1.94 2.74 2.74 0 0 1 1.93-3.35l.14-.03 123.61-26.06c3.2 1.8 2.19 5.13-.14 5.62z" class="homepage-roadmap__2__svg__st0"/>
    <path d="M327.24 448.43c-.28.5-.51 1.03-.71 1.57l-50.02 12.41-8.7-9-15.3 11.36 13.86 17.43a8.31 8.31 0 0 0 9.65 2.52l54.27-22.18a10.91 10.91 0 1 0-3.05-14.11zM156.51 558.88a11.16 11.16 0 0 0 6.63-15.78l34.42-95.67-23.9-4.24-26.32 95.37a11.23 11.23 0 0 0 9.17 20.32zm89.95 179.62 12.74-.01 6.06-49.13h-18.81z" class="homepage-roadmap__2__svg__st5"/>
    <path d="M243.21 734.34h25.09a16 16 0 0 1 15.99 15.99v.52h-41.08v-16.51z"/>
    <path d="m174.76 738.5 12.74-.01 6.06-49.13h-18.81z" class="homepage-roadmap__2__svg__st5"/>
    <path d="M171.51 734.34h25.09a16 16 0 0 1 15.99 15.99v.52h-41.08v-16.51z"/>
    <path d="M188.11 718.72h-16.12a4.68 4.68 0 0 1-4.68-4.68l.01-.22 7.66-164.53.48-.01 77.85-2.03 15.23 164.62a4.68 4.68 0 0 1-4.21 5.1l-.07.01-18.11 1.45a4.67 4.67 0 0 1-4.95-3.72l-23.16-117.19a1.51 1.51 0 0 0-1.53-1.25h-.01a1.5 1.5 0 0 0-1.52 1.26L192.7 714.95a4.7 4.7 0 0 1-4.59 3.77z" class="homepage-roadmap__2__svg__st3"/>
    <circle cx="217.64" cy="377.03" r="25.52" class="homepage-roadmap__2__svg__st5"/>
    <path d="m193.18 464.41-23.6-9.06a5.01 5.01 0 0 1-2.57-7.14l12.38-21.95a13.9 13.9 0 0 1 25.92 10.03l-5.46 24.52a5.01 5.01 0 0 1-6.67 3.6z" class="homepage-roadmap__2__svg__st2"/>
    <path d="M209.09 568.57c-12.16 0-24.66-3.2-35.02-12.65a4.72 4.72 0 0 1-1.53-4c1.11-9.96 6.49-61.39 3.46-95.75a41.6 41.6 0 0 1 13.46-34.61 41.15 41.15 0 0 1 35.29-10.22l.95.18c20.43 3.95 34.63 22.87 33.02 43.99-2.34 30.82-4.45 72.51-1.15 96.09a4.68 4.68 0 0 1-2.51 4.82c-7.49 3.79-26.3 12.15-45.97 12.15z" class="homepage-roadmap__2__svg__st2"/>
    <path d="M242.39 466.24a5.01 5.01 0 0 1-2.19-3.54l-3.11-24.93a13.9 13.9 0 0 1 26.76-7.53l10.24 23.03a5 5 0 0 1-3.23 6.86l-24.35 6.78a5.04 5.04 0 0 1-4.12-.67z" class="homepage-roadmap__2__svg__st2"/>
    <path d="M208.73 402.19a18.3 18.3 0 0 1-7.06-1.28c-.99-.38-2.01-.69-3-1.08-8.71-3.37-14.46-12.65-14.66-21.99-.21-9.34 4.63-18.41 11.81-24.38 7.18-5.97 16.49-9.04 25.8-9.75 10.03-.76 21.33 1.78 26.94 10.14 1.49 2.22 2.54 4.92 1.65 7.61a4.87 4.87 0 0 1-1.37 2.11c-2.5 2.23-5 .55-7.55.4-3.51-.2-6.66 2.64-7.79 5.96-1.13 3.33-.63 6.99.28 10.38.7 2.04 1.14 4.16 1.31 6.31a6.34 6.34 0 0 1-2.63 5.59c-2.19 1.33-5.07.56-7.27-.76-2.19-1.32-4.09-3.16-6.46-4.14-2.37-.97-5.55-.76-6.93 1.4a7.62 7.62 0 0 0-.88 2.53c-1.23 5.65-.95 5.32-2.19 10.95z"/>
    <path d="M221.49 433.52c3.66.97 7 2.89 9.69 5.56a21.65 21.65 0 0 1 5.57 9.68l-4.8 4.8H216.7v-15.25l4.79-4.79zm10.45 21.58h-15.25v15.25l4.8 4.8a21.46 21.46 0 0 0 15.24-15.26l-4.79-4.79zm-16.77 15.25V455.1h-15.25l-4.8 4.8a21.46 21.46 0 0 0 15.26 15.24l4.79-4.79zm-15.25-16.78h15.25v-15.25l-4.8-4.8a21.46 21.46 0 0 0-15.24 15.26l4.79 4.79z" class="homepage-roadmap__2__svg__st6"/>
    <path d="M856.35 435.46 785 475.48a2.83 2.83 0 0 1-3.78-.84 2.73 2.73 0 0 1 .85-3.77l.13-.08 72.63-40.74c3.56.76 3.59 4.25 1.52 5.41zm7.02 12.52L792.02 488a2.83 2.83 0 0 1-3.78-.84 2.73 2.73 0 0 1 .85-3.77l.13-.08 72.63-40.74c3.56.76 3.6 4.24 1.52 5.41z" class="homepage-roadmap__2__svg__st7"/>
    <path d="M886.61 570.67a9.82 9.82 0 0 0-6.52-13.57l-2.96-34.78-14.24 11.24 5 31.31a9.88 9.88 0 0 0 18.72 5.8zm32.79 155.25-10.96 4.81-23.79-40.01 16.19-7.1zm-147.23 13.31h-11.98l-5.69-46.19h17.67z" class="homepage-roadmap__2__svg__st8"/>
    <path d="M775.22 750.85H736.6v-.49c0-8.3 6.73-15.03 15.03-15.03h23.59v15.52z"/>
    <path d="m888.78 723.44-66.72-148.89a1.47 1.47 0 0 0-1.93-.77c-.41.18-.72.53-.83.96l-40.65 143.81a4.36 4.36 0 0 1-4.68 3.22l-22.2-2.22a4.43 4.43 0 0 1-3.95-4.73c7.06-87.83 18.19-170.73 51.54-224.99l.18-.29 50.44 9.89 67.34 214.45a4.41 4.41 0 0 1-2.86 5.47l-20.31 6.53a4.35 4.35 0 0 1-5.37-2.44z" class="homepage-roadmap__2__svg__st3"/>
    <circle cx="823.92" cy="389.57" r="23.99" class="homepage-roadmap__2__svg__st8"/>
    <path d="M731.94 539.64a9.81 9.81 0 0 0 7.88-12.83l27.64-21.33-17.16-5.89-23.61 21.16a9.88 9.88 0 0 0 5.25 18.89z" class="homepage-roadmap__2__svg__st8"/>
    <path d="m877.4 553.45-11.83 1.41a4.4 4.4 0 0 1-4.89-3.85l-.03-.33-1.73-39.91-22.42-61.25a12.59 12.59 0 0 1 .67-12.02c.55-.86 1.18-1.68 1.88-2.42 2.8-3.02 6.9-4.47 10.98-3.9a13.1 13.1 0 0 1 9.85 6.85l14.62 30.64a87.03 87.03 0 0 1 8.41 41.12l-1.65 39.47a4.4 4.4 0 0 1-3.81 4.17l-.05.02z" class="homepage-roadmap__2__svg__st0"/>
    <path d="m796.26 493.99-.31-.06-.07-.3c-3.23-13.65-3.31-28.55-.23-44.27a34.77 34.77 0 0 1 34.82-28.13 34.83 34.83 0 0 1 34.1 33.49c1.03 27.05-10.03 50.5-10.14 50.74l-.16.34-58.01-11.81z" class="homepage-roadmap__2__svg__st0"/>
    <path d="M747.03 523.55a4.37 4.37 0 0 1-5.61-.99l-7.59-9.18a4.39 4.39 0 0 1 .59-6.19l.26-.2 32.61-23.06 39.35-52.02a12.61 12.61 0 0 1 10.47-5.95c1.02-.01 2.05.08 3.05.27 4.05.72 7.5 3.38 9.22 7.12 1.8 3.83 1.65 8.3-.42 11.99l-29.14 47.18-.06.1-52.73 30.93z" class="homepage-roadmap__2__svg__st0"/>
    <path d="M853.29 434.56c3.66.97 7 2.89 9.69 5.56a21.65 21.65 0 0 1 5.57 9.68l-4.8 4.8H848.5v-15.25l4.79-4.79zm10.45 21.57h-15.25v15.25l4.8 4.8a21.46 21.46 0 0 0 15.24-15.26l-4.79-4.79zm-16.77 15.26v-15.25h-15.25l-4.8 4.8a21.46 21.46 0 0 0 15.26 15.24l4.79-4.79zm-15.25-16.78h15.25v-15.25l-4.8-4.8a21.46 21.46 0 0 0-15.24 15.26l4.79 4.79z" class="homepage-roadmap__2__svg__st6"/>
    <path d="M828.21 388.08c-1.77-2.91-5.67-3.73-9.06-3.4s-6.68 1.52-10.09 1.5c-9.45-.07-16.75-11.59-12.78-20.17 3.26-7.03 11.4-10.12 18.76-12.55 15.44-5.08 33.17-9.97 47.19-1.73a29.32 29.32 0 0 1 14.11 26.12c-.32 6.49-2.8 13.15-.7 19.29 2.42 7.09 10.11 10.89 17.37 12.73 12.73 3.22 26.15 2.71 38.96 5.6 12.81 2.89 25.94 10.57 29.39 23.24 2.27 8.32-.1 17.28-4.02 24.97a64.66 64.66 0 0 1-90.21 26.46c-15.49-9.04-26.67-24.33-33.33-40.97a137.13 137.13 0 0 1-7.93-30.13c-1.49-9.65-.23-19.41 2.48-28.8a2.6 2.6 0 0 0-.14-2.16zm98.66 347.24-35.36 15.52-.2-.45a15.04 15.04 0 0 1 7.72-19.81l21.6-9.48 6.24 14.22z"/>
    <path d="M404.23 360.02a10.44 10.44 0 0 1 5.52 15.04l24.34 28.05-19.13 2.53-20.18-27.02a10.5 10.5 0 0 1 9.45-18.6zm162.5 11.23a10.45 10.45 0 0 0 8.06 13.85l6.06 36.64L595 408.63l-7.92-32.78a10.5 10.5 0 0 0-20.35-4.6zm-38.04 370.54h-12.74l-6.06-49.14h18.81z" class="homepage-roadmap__2__svg__st9"/>
    <path d="M531.94 737.63h-25.09a16 16 0 0 0-15.99 15.99v.52h41.08v-16.51z"/>
    <path d="M594.16 741.79h-12.74l-6.06-49.14h18.8z" class="homepage-roadmap__2__svg__st9"/>
    <path d="M597.41 737.63h-25.09a16 16 0 0 0-15.99 15.99v.52h41.08v-16.51z"/>
    <circle cx="531.35" cy="380.78" r="25.52" class="homepage-roadmap__2__svg__st9" transform="rotate(-22.5 531.32 380.77)"/>
    <path d="M534.41 725.47 536.52 591c.01-.86.72-1.55 1.58-1.54.71.01 1.33.5 1.49 1.2l34.59 131.53a4.73 4.73 0 0 0 4.75 3.59l19.01-.81a4.67 4.67 0 0 0 4.47-4.87l-.03-.38-29.35-169.02-.06-.48-81.76 3.87-.53.02 17.53 171.64a4.7 4.7 0 0 0 4.66 4.33h16.86a4.7 4.7 0 0 0 4.68-4.61z" class="homepage-roadmap__2__svg__st3"/>
    <path d="m469.84 565.47 118.65-9.74a4.68 4.68 0 0 0 4.02-6.25l-18.68-51.66-1.08-61.31a16.81 16.81 0 0 0-17.11-16.52l-.21.01-7.89-7.15h-28.91l-2.52 3.3-20.11 3.09a16.9 16.9 0 0 0-14.11 14.37l-17.06 126.57a4.68 4.68 0 0 0 5.01 5.29z" class="homepage-roadmap__2__svg__st3"/>
    <path d="m492.95 425.19-50.59-14.82-22.9-30.14a4.68 4.68 0 0 0-5.56-1.47l-14.29 6.11a4.67 4.67 0 0 0-2.2 6.66l17.11 29.36a26.2 26.2 0 0 0 12.11 10.83l59.5 26.3 6.82-32.83zm97.06 22.17a21.67 21.67 0 0 0 8.94-19.3l-2.22-29.42a4.68 4.68 0 0 0-4.66-4.32h-.04l-16.76.15a4.67 4.67 0 0 0-4.54 5.58l3.11 15.87-22.2 9.38 18.69 36.36 19.68-14.3z" class="homepage-roadmap__2__svg__st3"/>
    <path d="M516.51 350.18s26.69-14.37 41.24 2.59-5.54 43.49-5.54 43.49l-28.63 3.61s-1.04-19.46-7.85-19.08c-6.83.37-27.99-24.19.78-30.61z"/>
</svg>

Problems deploying to Gatsby Cloud

I'm trying to deploy a medium sized site to Gatsby Cloud, but it keeps giving me the following output. Gatsby Cloud also generates a bunch of errors because it can't find the tmp svgs, so maybe that's effecting it? Would love to hear your thoughts/experience with this

 * branch            master     -> FETCH_HEAD

13:37:22 PM:
HEAD is now at 0e45a3c fix branded landing page

13:37:22 PM:
Already on 'master'

13:37:22 PM:
Your branch is up-to-date with 'origin/master'.

13:37:23 PM:
yarn install v1.22.10

13:37:24 PM:
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.

13:37:24 PM:
[1/4] Resolving packages...

13:37:24 PM:
success Already up-to-date.

13:37:24 PM:
Done in 0.87s.

13:37:30 PM:
/root/.nvm/versions/node/v12.20.1/bin/gatsby-cloud -> /root/.nvm/versions/node/v12.20.1/lib/node_modules/@gatsby-cloud-pkg/gatsby-inc-build-cli/bin/cli.js

13:37:30 PM:
+ @gatsby-cloud-pkg/[email protected]
updated 1 package in 4.628s

13:37:31 PM:
Node version v12.20.1

13:37:33 PM:
Gatsby version: 2.31.1

13:37:33 PM:
Gatsby version Gatsby CLI version: 2.16.2

13:37:33 PM:
INCREMENTAL_BUILDS

13:37:33 PM:
  Note: this is the Gatsby version for the site at: /usr/src/app/www

13:37:33 PM:
Setting gatsby to /usr/src/app/www/node_modules/gatsby

13:37:34 PM:
info Running Inc Build CLI v0.5.3

13:37:36 PM:
verbose 3.129024929 making initial clean build

13:37:36 PM:
success open and validate gatsby-configs - 0.108s

13:37:40 PM:
success load plugins - 1.961s

13:37:40 PM:
warning The official Affirm script does not natively set `defer`. Be sure you know what you are doing :).

13:37:40 PM:
success onPreInit - 0.054s

13:37:40 PM:
success delete html and css files from previous builds - 0.015s

13:37:40 PM:
success initialize cache - 0.003s

13:37:40 PM:
success copy gatsby files - 0.106s

13:37:40 PM:
success onPreBootstrap - 0.014s

13:37:40 PM:
success  gatsby-source-wordpress  ensuring plugin requirements are met - 0.048s

13:37:41 PM:
success  gatsby-source-wordpress  diff schemas - 0.974s

13:37:41 PM:
success  gatsby-source-wordpress  ingest WPGraphQL schema - 1.090s

13:37:41 PM:
success createSchemaCustomization - 1.201s

13:37:41 PM:
verbose 8.559345711 Fetching default locale

13:37:42 PM:
verbose 8.626613591 get /: 200 OK (size: 357B request id: 33dfed8d-2517-44a6-9636-a5bfe480d01b cache: HIT)

13:37:42 PM:
verbose 8.686793643 get /locales: 200 OK (size: 573B request id: 731275b4-1dc2-46c4-9248-c508b5db6fce cache: HIT)

13:37:42 PM:
verbose 8.68740575 Default locale is: en-US. There are 2 locales in total.

13:37:42 PM:
verbose 8.688369758 Contentful: Sync 100 items per page.

13:37:42 PM:
verbose 8.753055493 get /sync: 200 OK (size: 326B request id: ceb5b940-ef96-4df6-a21e-ffbc61c270a5 cache: HIT)

13:37:42 PM:
success Contentful: Sync changed items - 0.066s - 0/100 1524.60/s

13:37:42 PM:
verbose 8.806366998 get /content_types: 200 OK (size: 2052B request id: 4d0c57eb-2a20-40cb-b924-622472f4b046 cache: HIT)

13:37:42 PM:
verbose 8.807058509 Content types fetched 12

13:37:42 PM:
verbose 8.807283976 Default locale: en-US.   All locales: en-US, de-DE

13:37:42 PM:
success Contentful: Fetch data (cb6nr1zsdh3n-master) - 0.252s

13:37:42 PM:
info Deleted entries 0

13:37:42 PM:
info Updated entries 0

13:37:42 PM:
info Updated assets 0

13:37:42 PM:
info Deleted assets 0

13:37:42 PM:
verbose 8.828794633 Building Contentful reference map

13:37:42 PM:
success Contentful: Process data (cb6nr1zsdh3n-master) - 0.020s

13:37:42 PM:
verbose 8.829696585 Resolving Contentful references

13:37:42 PM:
info Creating 15 Contentful Custom Product SVG Set nodes

13:37:42 PM:
info Creating 38 Contentful asset nodes

13:37:42 PM:
success Contentful: Create nodes (cb6nr1zsdh3n-master) - 0.028s

13:37:42 PM:
FETCHING SHEET [Function: fetchData]

13:37:49 PM:
FETCHING SHEET [Function: fetchData]

13:37:51 PM:
FETCHING SHEET [Function: fetchData]

13:37:52 PM:
gatsby-source-shopify/goodform-dev.myshopify.com starting to fetch data from Shopify

13:37:52 PM:
gatsby-source-shopify/goodform-dev.myshopify.com fetched and processed Shop nodes: 193.716ms

13:37:52 PM:
gatsby-source-shopify/goodform-dev.myshopify.com fetched and processed Page nodes: 209.581ms

13:37:52 PM:
gatsby-source-shopify/goodform-dev.myshopify.com fetched and processed Blog nodes: 213.684ms

13:37:52 PM:
gatsby-source-shopify/goodform-dev.myshopify.com fetched and processed ShopPolicy nodes: 221.585ms

13:37:52 PM:
gatsby-source-shopify/goodform-dev.myshopify.com fetched and processed Collection nodes: 244.189ms

13:37:52 PM:
gatsby-source-shopify/goodform-dev.myshopify.com fetched and processed Article nodes: 335.253ms

13:38:02 PM:
gatsby-source-shopify/goodform-dev.myshopify.com fetched and processed Product nodes: 9998.343ms

13:38:02 PM:
gatsby-source-shopify/goodform-dev.myshopify.com finished fetching data from Shopify: 9997.528ms

13:38:02 PM:
success  gatsby-source-wordpress  pull updates since last build - 0.856s

13:38:02 PM:
success  gatsby-source-wordpress  fetch root fields - 0.876s

13:38:02 PM:
verbose 29.539859092 Checking for deleted pages

13:38:02 PM:
verbose 29.540598865 Found 0 changed pages

13:38:02 PM:
verbose 29.540478784 Deleted 0 pages

13:38:02 PM:
success source and transform nodes - 21.070s

13:38:02 PM:
success Checking for changed pages - 0.001s

13:38:04 PM:
success building schema - 1.139s

13:38:04 PM:
info Total nodes: 8036, SitePage nodes: 275 (use --verbose for breakdown)

13:38:04 PM:
success createPages - 0.248s

13:38:04 PM:
verbose 30.930918758 Found 274 changed pages

13:38:04 PM:
success Checking for changed pages - 0.000s

13:38:04 PM:
verbose 30.930528681 Deleted 0 pages

13:38:04 PM:
verbose 30.930313309 Checking for deleted pages

13:38:04 PM:
success createPagesStatefully - 0.162s

13:38:04 PM:
success Cleaning up stale page-data - 0.008s

13:38:04 PM:
success update schema - 0.034s

13:38:04 PM:
success onPreExtractQueries - 0.001s

13:38:08 PM:
success extract queries from components - 4.405s

13:38:08 PM:
success write out redirect data - 0.001s

13:38:09 PM:
success Build manifest and related icons - 0.159s

13:38:09 PM:
info bootstrap finished - 35.710s

13:38:09 PM:
success onPostBootstrap - 0.160s

13:38:09 PM:
success write out requires - 0.014s

13:38:25 PM:
success Building production JavaScript and CSS bundles - 16.379s

13:38:45 PM:
success Building HTML renderer - 18.390s

13:39:40 PM:
failed Building static HTML for pages - 55.068s

13:39:40 PM:
ERROR Building static HTML failed

13:39:40 PM:
13:39:40 PM:
  Error: Call retries were exceeded

13:39:40 PM:
    [www]/[jest-worker]/build/workers/ChildProcessWorker.js:193:21

13:39:40 PM:
  - ChildProcessWorker.js:193 ChildProcessWorker.initialize

13:39:40 PM:
  

13:39:40 PM:
  

13:39:40 PM:
  

13:39:40 PM:
  - ChildProcessWorker.js:263 ChildProcessWorker.onExit

13:39:40 PM:
    [www]/[jest-worker]/build/workers/ChildProcessWorker.js:263:12

13:39:40 PM:
13:39:40 PM:
    internal/child_process.js:276:12

13:39:40 PM:
  

13:39:40 PM:
  - child_process.js:276 Process.ChildProcess._handle.onexit

Provide example with Prismic

It would be great if you could provide an example with Prismic as the CMS.
Or even better a generic one without any specific CMS in mind.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm @types/svgo Unavailable

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/lint.yml
  • actions/checkout v4
  • actions/setup-node v4
  • actions/checkout v4
  • actions/setup-node v4
.github/workflows/test.yml
  • actions/checkout v4
  • actions/setup-node v4
npm
package.json
  • debug ^4.1.1
  • fs-extra ^11.0.0
  • gatsby-core-utils ^3.9.1
  • mini-svg-data-uri ^1.4.4
  • p-queue ^6.2.1
  • svgo ^2.0.0
  • @types/jest 29.5.6
  • @types/svgo 2.6.4
  • eslint 8.52.0
  • eslint-config-react-app 7.0.1
  • eslint-plugin-flowtype 8.0.3
  • eslint-plugin-import 2.29.0
  • eslint-plugin-jest 27.4.3
  • eslint-plugin-jsx-a11y 6.7.1
  • eslint-plugin-react 7.33.2
  • eslint-plugin-react-hooks 4.6.0
  • gatsby 4.25.7
  • husky 8.0.3
  • jest 29.7.0
  • lint-staged 13.3.0
  • nock 13.3.6
  • prettier 2.8.8
  • gatsby >=4.9.0
  • gatsby-source-contentful >=5.0.0
  • gatsby-source-filesystem >=4.0.0
  • node >8.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

When is v1.0.0 going to be released to npm?

Hi, thanks for your plugin! I was wondering when is v1.0.0 going to be published to npm? v0.1.0 which is the latest on npm has a dependency conflict with the latest version of gatsby-source-contentful

SVGs' ids conflict because of svgo plugin { cleanupIDs: true }

I have many SVGs displayed on the same page and because of svgo plugin { cleanupIDs: true }, all the ids are shortened to a, b and because of svgo plugin { prefixIds: true }, all the ids ended up the same like so: id="prefix__a", xlink:href="#prefix__a" or id="prefix__a", clip-path="url(#prefix__a)". The result is that only the first SVG with the repeated id is displaying correctly and all the rest are broken.
A good solution for that is to disable { cleanupIDs: false} or a much better solution is to allow the user to pass his own svgo configuration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.