chore(v2): fixed props being passed to @svgr/webpack loader (#3498)

Without comma option `-prettier-svgo` is parsed as `'prettier-svgo': false`
This commit is contained in:
Andrey Rublev 2020-10-02 18:51:21 +07:00 committed by GitHub
parent 41ff9a9fd0
commit 83db07e5b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -218,7 +218,7 @@ export function createBaseConfig(
},
{
test: /\.svg$/,
use: '@svgr/webpack?-prettier-svgo,+titleProp,+ref![path]',
use: '@svgr/webpack?-prettier,-svgo,+titleProp,+ref![path]',
},
],
},