/rollup-plugin-banner

Primary LanguageTypeScriptMIT LicenseMIT

🚀 Welcome to use @yang-yong-xin/rollup-plugin-banner

npm version install size npm bundle size npm downloads npm license

安装

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 */'
  })
]