Skip to content

Commit 9bd7375

Browse files
committed
fix
1 parent 8e4c4a3 commit 9bd7375

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/plugin-svgr/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import type { Config as BaseSvgrOptions } from '@svgr/core';
66
import deepmerge from 'deepmerge';
77
import type { Config as SvgoConfig } from 'svgo';
88

9+
// @svgr/core does not have the svgo dependency, so we need to
10+
// manually specify the svgoConfig type
911
type SvgrOptions = Omit<BaseSvgrOptions, 'svgoConfig'> & {
1012
svgoConfig?: SvgoConfig;
1113
};

0 commit comments

Comments
 (0)