0.0.5 • Published 3 years ago
rollup-plugin-banner-obj v0.0.5
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
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago
0.0.1-beta.1
3 years ago
0.0.1-beta.0
3 years ago