gatsby-plugin-react-svg icon indicating copy to clipboard operation
gatsby-plugin-react-svg copied to clipboard

Adds svg-react-loader to gatsby webpack config

Results 21 gatsby-plugin-react-svg issues
Sort by recently updated
recently updated
newest added

Hi there, I am facing some parsing issues with some quite simple SVGs, with the following warning; ` warn Module parse failed: Unexpected character '​' (3:25)` Any idea what is...

i want to achieve something like this ``` import Icon from '../path.svg' ``` but i got an error that props src is invalid

Like the title said - in dev mode its completly fine.: [Works fine](https://www.dropbox.com/s/pyozlpiy5j7onz4/Bildschirmfoto%202020-03-22%20um%2014.59.19.png?dl=0) But when I build gatsby and serve it it looks like that: [Works not](https://www.dropbox.com/s/zb8vq7e6w0ubwwb/Bildschirmfoto%202020-03-22%20um%2014.58.13.png?dl=0) The Code: `import...

Would it be possible to add an option to pass SVGO config and cleanup the SVG's according to those rules? I've used [react-svg-loader](https://www.npmjs.com/package/react-svg-loader) and it's worked great for an icon...

enhancement
help wanted

gatsby-config.js ``` { resolve: 'gatsby-plugin-react-svg', options: { rule: { include: /duotone-icons-2/ } } } ``` Application Code ``` import ServicesIcon from '../landkit/img/icons/duotone-icons-2/Shopping/Chart-line#1.svg' ``` ... ``` ``` Gatsby Develop Output:

help wanted

If two svgs have same classes, classes overrides each other: ``` .circle_class{fill:red;} .circle_class{fill:green;} ``` To prevent this sitution, svg-react-loader colud add file name as class prefix using 'classIdPrefix' via gatsby-plugin-react-svg...

enhancement
help wanted

I see that whatever gets passed as include or exclude to `svg-react-loader` will be added to `url-loader` too, just other way around, include --> exclude, exclude --> include. That is...

enhancement
help wanted

Hi, I had an issue with PNPM in monorepo where webpack couldn't find the `svg-react-loader`. This fix ensures that webpack picks up the proper loader.

The dependency `svg-react-loader` not only uses vulnerable version of `loader-utils` which is `@1.1.0`, but also seems to be abandoned as last release was 4 years ago. Is there a chance...

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies