Skip to content

Commit

Permalink
feat: Plugin options are now optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
s3xysteak committed Mar 21, 2024
1 parent 37edb04 commit 3f96833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/unplugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface UnpluginFactoryOptions extends ExpGeneratorOptions {
entries: string[]
}

export default createUnplugin<Partial<UnpluginFactoryOptions>>((options = {}) => {
export default createUnplugin<Partial<UnpluginFactoryOptions> | undefined>((options = {}) => {
const {
entries = ['./src/index.ts'],
} = options
Expand Down

0 comments on commit 3f96833

Please sign in to comment.