Skip to content

Commit 273eab5

Browse files
authored
Merge pull request #83 from kingyue737/bump-svgo
Upgrade to svgo 3
2 parents a11e4ca + c9fe0d6 commit 273eab5

File tree

3 files changed

+200
-139
lines changed

3 files changed

+200
-139
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
declare module 'vite-svg-loader' {
22
import { Plugin } from 'vite'
3-
import { OptimizeOptions } from 'svgo'
4-
function svgLoader(options?: { svgoConfig?: OptimizeOptions, svgo?: boolean, defaultImport?: 'url' | 'raw' | 'component' }): Plugin
3+
import { Config } from 'svgo'
4+
function svgLoader(options?: { svgoConfig?: Config, svgo?: boolean, defaultImport?: 'url' | 'raw' | 'component' }): Plugin
55
export default svgLoader
66
}
77

0 commit comments

Comments
 (0)