0.0.5 • Published 2 years ago

rollup-plugin-banner-obj v0.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

rollup-plugin-banner-obj

you can specify the banner&footer to be set for the specified chunk

example

//方法1: 通过output传递
output:{
    bannerObj: { 'test.es.js': `import "./style.css"` },
    footerObj: { 'test.es.js': `console.log(version)` }
}
//方法2: 通过plugins参数传递
plugins: [ objBanner({banner:{ 'test.es.js': `import "./style.css"` },footer:{ 'test.es.js': `console.log(version)` }})]
0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.1-beta.1

2 years ago

0.0.1-beta.0

2 years ago