mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-04 01:09:20 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue