Skip to content

Commit

Permalink
fix: remove nested plugin type (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz authored Apr 7, 2024
1 parent c335d59 commit f06ba6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type WithRequiredProperty<Type, Key extends keyof Type> = Type & {

type SWCOptions = WithRequiredProperty<JscConfig, 'parser' | 'transform'>

export default createUnplugin<Options | undefined>(
export default createUnplugin<Options | undefined, false>(
({ tsconfigFile, minify, include, exclude, ...options } = {}) => {
const filter = createFilter(
include || /\.[jt]sx?$/,
Expand Down

0 comments on commit f06ba6b

Please sign in to comment.