You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is about to update svgr to its latest version as it allows to pass custom settings to svgo dependency (via svgorc file).
Did you try recovering your dependencies?
N/A
Which terms did you search for in User Guide?
svg, svgr, svgo
Environment
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
Binaries:
Node: 9.5.0 - ~/.nvm/versions/node/v9.5.0/bin/node
Yarn: 1.7.0 - /usr/local/bin/yarn
npm: 5.6.0 - ~/.nvm/versions/node/v9.5.0/bin/npm
Browsers:
Chrome: 67.0.3396.99
Edge: Not Found
Firefox: 60.0.2
Internet Explorer: Not Found
Safari: 11.1.2
npmPackages:
@types/react: ^16.4.6 => 16.4.6
@types/react-dom: ^16.0.6 => 16.0.6
react: 16.4.1 => 16.4.1
react-dom: 16.4.1 => 16.4.1
react-scripts: 2.0.0-next.3e165448 => 2.0.0-next.3e165448
npmGlobalPackages:
create-react-app: Not Found
Steps to Reproduce
The svgo lib works under the hood of svgr/webpack that CRA is using for svg files imports. If you'd like to use i.e. SVG sprite file you may face some issues with svgo configuration.
To demonstrate the issue, please to the following steps:
Is this a bug report?
No
This issue is about to update
svgr
to its latest version as it allows to pass custom settings tosvgo
dependency (viasvgorc
file).Did you try recovering your dependencies?
N/A
Which terms did you search for in User Guide?
svg, svgr, svgo
Environment
Steps to Reproduce
The
svgo
lib works under the hood ofsvgr/webpack
that CRA is using for svg files imports. If you'd like to use i.e. SVG sprite file you may face some issues withsvgo
configuration.To demonstrate the issue, please to the following steps:
svgr
)You should see the result is empty and doesn't contain the input symbols:
SVGO Config field
:You should see the result now contains all input symbols:
Expected Behavior
I'd like to be able to set the custom config that
svgo
would use to transform the SVG file.Actual Behavior
I'm not able to set the custom config that
svgo
would use to transform the SVG file.Reproducible Demo
Please go to Steps to Reproduce section.
Related
The text was updated successfully, but these errors were encountered: