Skip to content

Commit

Permalink
fix: actually expose recently added types (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Oct 12, 2023
1 parent 5cb9f50 commit 93356e6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/afraid-news-trade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'vite-imagetools': patch
---

fix: actually expose recently added types
10 changes: 10 additions & 0 deletions packages/vite/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ import type { Metadata, Sharp } from 'sharp'
import { createBasePath } from './utils.js'
import type { VitePluginOptions } from './types.js'

export type {
Include,
Exclude,
DefaultDirectives,
ExtendTransforms,
ExtendOutputFormats,
ResolveConfigs,
VitePluginOptions
} from './types.js'

const defaultOptions: VitePluginOptions = {
include: /^[^?]+\.(heic|heif|avif|jpeg|jpg|png|tiff|webp|gif)(\?.*)?$/,
exclude: 'public/**/*',
Expand Down

0 comments on commit 93356e6

Please sign in to comment.