diff --git a/src/index.ts b/src/index.ts index 2c1687d4..c08b58b3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,7 +21,7 @@ type WithRequiredProperty = Type & { type SWCOptions = WithRequiredProperty -export default createUnplugin( +export default createUnplugin( ({ tsconfigFile, minify, include, exclude, ...options } = {}) => { const filter = createFilter( include || /\.[jt]sx?$/,