用途说明
BannerPlugin ()
Adds a banner to the top of each generated chunk.
bannera string, it will be wrapped in a commentoptions.rawif true, banner will not be wrapped in a commentoptions.entryOnlyif true, the banner will only be added to the entry chunks.
webpack.config.js配置
|
|
案例
|