Skip to content

Commit

Permalink
fix: banner maybe undefiend
Browse files Browse the repository at this point in the history
  • Loading branch information
HomyeeKing committed Jan 6, 2025
1 parent 3220c94 commit 4570fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ice/src/service/webpackServerCompiler/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class WebpackServerCompiler {
sourcemap: options.sourcemap,
define: options.define,
// banner can only be string in transform mode
banner: options.banner.js,
banner: options.banner?.js,
implementation: esbuild,
},
},
Expand Down

0 comments on commit 4570fe6

Please sign in to comment.