We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e4c4a3 commit 9bd7375Copy full SHA for 9bd7375
packages/plugin-svgr/src/index.ts
@@ -6,6 +6,8 @@ import type { Config as BaseSvgrOptions } from '@svgr/core';
6
import deepmerge from 'deepmerge';
7
import type { Config as SvgoConfig } from 'svgo';
8
9
+// @svgr/core does not have the svgo dependency, so we need to
10
+// manually specify the svgoConfig type
11
type SvgrOptions = Omit<BaseSvgrOptions, 'svgoConfig'> & {
12
svgoConfig?: SvgoConfig;
13
};
0 commit comments