@yang-yong-xin/rollup-plugin-banner
v3.0.0
Published
Add a banner or footer to the top or bottom of the generated chunk.
Downloads
7
Maintainers
Readme
🚀 Welcome to use @yang-yong-xin/rollup-plugin-banner
安装
npm i -D @yang-yong-xin/rollup-plugin-banner
引入
/* rollup.config.js */
import RollupBanner from '@yang-yong-xin/rollup-plugin-banner';
使用
/* rollup.config.js */
plugins: [
...,
RollupBanner({
banner: `/* banner content */`,
footer: '/* footer content */'
})
]