Skip to content

Commit

Permalink
fix: exclude banner and footer in the options for rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Mar 7, 2022
1 parent 2521e9f commit 4cc7ea7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Expand Up @@ -149,6 +149,8 @@ export async function build(_options: Options) {
configName: item?.name,
options: {
...options, // functions cannot be cloned
banner: undefined,
footer: undefined,
esbuildPlugins: undefined,
esbuildOptions: undefined,
plugins: undefined,
Expand Down

1 comment on commit 4cc7ea7

@vercel
Copy link

@vercel vercel bot commented on 4cc7ea7 Mar 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.