Skip to content

Commit

Permalink
Merge pull request #83 from kingyue737/bump-svgo
Browse files Browse the repository at this point in the history
Upgrade to svgo 3
  • Loading branch information
jpkleemans committed Dec 24, 2022
2 parents a11e4ca + c9fe0d6 commit 273eab5
Show file tree
Hide file tree
Showing 3 changed files with 200 additions and 139 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
@@ -1,7 +1,7 @@
declare module 'vite-svg-loader' {
import { Plugin } from 'vite'
import { OptimizeOptions } from 'svgo'
function svgLoader(options?: { svgoConfig?: OptimizeOptions, svgo?: boolean, defaultImport?: 'url' | 'raw' | 'component' }): Plugin
import { Config } from 'svgo'
function svgLoader(options?: { svgoConfig?: Config, svgo?: boolean, defaultImport?: 'url' | 'raw' | 'component' }): Plugin
export default svgLoader
}

Expand Down

0 comments on commit 273eab5

Please sign in to comment.