生成された各チャンクの先頭または末尾にバナーを追加します。
undefined
名前 | タイプ | デフォルト | 説明 |
---|---|---|---|
banner | BannerFunction|string | undefined | バナーを指定します。これはコメントで囲まれます。 |
entryOnly | boolean|undefined | undefined | true の場合、バナーはエントリチャンクにのみ追加されます。 |
footer | boolean|undefined | undefined | true の場合、バナーは出力の最後に配置されます。 |
raw | boolean|undefined | undefined | true の場合、バナーはコメントで囲まれません。 |
stage | number|undefined | PROCESS_ASSETS_STAGE_ADDITIONS (-100) | バナーが注入されるコンパイルのステージ。 |
test | BannerRules|undefined | undefined | テストアサーションに合格したすべてのモジュールを含めます。 |
include | BannerRules|undefined | undefined | これらの条件のいずれかに一致するすべてのモジュールを含めます。 |
exclude | BannerRules|undefined | undefined | これらの条件のいずれかに一致するすべてのモジュールを除外します。 |
各チャンクファイルの最後にバナーを追加します。