Rollup - add output banner & footer ***after*** bundling

In my rollup config I am passing the footer and banner fields to output
// rollup.config.js

module.exports = {
output {
banner: ...,
footer: ...,
...,
}
...,
}
// rollup.config.js

module.exports = {
output {
banner: ...,
footer: ...,
...,
}
...,
}
However these strings are being added to the file content before my plugins run. I had thought these would happen immediately prior to writing to disc, as they are part of the output configuration, whereas in reality they happen much earlier than they should imo, early enough that these to me are input options. If there any way to tell rollup to run these later? If not, are there any plugins which can place arbitrary content before and after the bundle?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server