Skip to content

Commit

Permalink
refactor: remove nested plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Aug 3, 2023
1 parent 74f5006 commit c7377a8
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 @@ -7,7 +7,7 @@ import { installSourcemapsSupport } from 'vite-node/source-map'
import { type Options, resolveOptions } from './core/options'
import { transformMacros } from './core'

export default createUnplugin<Options | undefined>((rawOptions = {}) => {
export default createUnplugin<Options | undefined, false>((rawOptions = {}) => {
const options = resolveOptions(rawOptions)
const filter = createFilter(options.include, options.exclude)

Expand Down

0 comments on commit c7377a8

Please sign in to comment.