Skip to content

Commit

Permalink
Update packages/rspack/src/builtin-plugin/BannerPlugin.ts
Browse files Browse the repository at this point in the history
Co-authored-by: neverland <[email protected]>
  • Loading branch information
GiveMe-A-Name and chenjiahan authored Sep 27, 2024
1 parent 9a1efb5 commit 9bbeced
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/rspack/src/builtin-plugin/BannerPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ export type BannerPluginOptions = {
/** If true, banner will be placed at the end of the output. */
footer?: boolean;

/** The stage of the compilation in which the banner should be injected. */
/**
* The stage of the compilation in which the banner should be injected.
* @default PROCESS_ASSETS_STAGE_ADDITIONS (-100)
*/
stage?: number;

/** Include all modules that pass test assertion. */
Expand Down

0 comments on commit 9bbeced

Please sign in to comment.