Skip to content

Commit

Permalink
feat(types): extending the ESBuildOptions type
Browse files Browse the repository at this point in the history
  • Loading branch information
btea committed Jan 6, 2025
1 parent da0caf5 commit 02e59ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/node/plugins/esbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export const defaultEsbuildSupported = {
}

export interface ESBuildOptions extends TransformOptions {
include?: string | RegExp | string[] | RegExp[]
exclude?: string | RegExp | string[] | RegExp[]
include?: string | RegExp | ReadonlyArray<string | RegExp>
exclude?: string | RegExp | ReadonlyArray<string | RegExp>
jsxInject?: string
/**
* This option is not respected. Use `build.minify` instead.
Expand Down

0 comments on commit 02e59ff

Please sign in to comment.