mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-31 07:32:53 +00:00
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:
parent
41ff9a9fd0
commit
83db07e5b4
|
|
@ -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]',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue