react-svg-loader icon indicating copy to clipboard operation
react-svg-loader copied to clipboard

A loader for webpack, rollup, babel that loads svg as a React Component

Results 51 react-svg-loader issues
Sort by recently updated
recently updated
newest added

When SVG file has `viewBox`, `width`, and `height` attributes, manipulating using CSS styles are impossible (`path` is not contained in `svg` element). This behavior started after upgrading from 2.1.0 to...

Ref: #307 NodeJS [releases](https://nodejs.org/en/about/releases/) status and END-OF-LIFE error [email protected]: The engine "node" is incompatible with this module. Expected version ">=10.13.0". Got "8.17.0" https://github.com/svg/svgo/blob/b37d90e12a87312bba87a6c52780884e6e595e23/package.json#L52-L54 Travis build https://app.travis-ci.com/github/boopathi/react-svg-loader/jobs/550900558

Bumps [async](https://github.com/caolan/async) from 2.5.0 to 2.6.4. Changelog Sourced from async's changelog. v2.6.4 Fix potential prototype pollution exploit (#1828) v2.6.3 Updated lodash to squelch a security warning (#1675) v2.6.2 Updated lodash...

dependencies

- Update svgo to v2 - Update babel to v7 - Using jest instead of tap - Improved type coverage - Generate named components #307 #295 #303 #323 #318

After doing npm audix fix, the version of react-svg-loader is downgraded from 3.0.3 to 3.0.0. Is it okay to have a downgraded version?

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.9.1 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@​ChALkeR). Fix boolean schemas with strictKeywords...

dependencies

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.3.0 to 2.6.7. Release notes Sourced from node-fetch's releases. v2.6.7 Security patch release Recommended to upgrade, to not leak sensitive cookie and authentication header information to 3th...

dependencies

when using fractional property values in the tag, the style throws an error webpack config `{ test: /\.svg$/, use: [ { loader: "babel-loader" }, { loader: "react-svg-loader", options: { svgo:...

![](https://user-images.githubusercontent.com/6282615/136690931-144b5aa0-62d9-4e14-a2b4-3f81d35df4af.png) ```js { test: /\.svg$/, use: [{ loader: 'react-svg-loader', options: { componentName: (resource: string) => { return config.environment.production === true ? null : upperFirst(camelCase(path.parse(resource).name)) }, } }] } ```

Hello 👋🏽 The following error is being triggered when a SVG has multiple values in a single property. In my case I have a SVG file which has two values...