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