Created by: alaycock
I ran into an issue when upgrading to create-react-app 2 because @svgr/core@2.4.1 (a dependency of @svgr/webpack) had prettier as a dependency, which led to two different version of prettier being installed, which ended up causing linting issues when the two different versions of prettier ran (through yarn eslint vs yarn prettier). More details of my issue can be found here: https://github.com/prettier/eslint-plugin-prettier/issues/110
As of @svgr/core@4.0.0, prettier and svgo are no longer dependencies, and using it will prevent them from being installed, which would hopefully prevent prettier version conflicts in the future.
Neither prettier and svgo were being used in create-react-app anyway, so having them removed just removes a bit of node_modules bloat without cutting functionality.
To test, run create react app, and try out importing a SVG as a component with import { ReactComponent as Logo } from "./logo.svg";, and it should continue to work.