Skip to content

Commit

Permalink
feat: export a default function (with --configPlugin)
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Dec 3, 2021
1 parent c53a65c commit 549adcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,5 @@ function defineRollupSwcOption(option: PluginOptions) {
return option;
}

export default swc;
export { swc, defineRollupSwcOption };

0 comments on commit 549adcf

Please sign in to comment.