-
Notifications
You must be signed in to change notification settings - Fork 361
Open
Labels
increased scopeIncreases project scope, or is out of scope.Increases project scope, or is out of scope.
Description
I love microbundle but sometimes we really would need a custom plugin or to overwrite a rollup config.
Therefore I would suggest the following:
new cli option:
--extendRollupConfig 'extend.js'
example extend file:
// extend.js (must return RollupConfig)
return {
plugins: [
myCoolPlugin() // Add new
terser({...}) // Overwrite terser plugin
]
outputOptions: {
systemNullSetters: true
}
}
The original config stays the same, but can be overridden if needed. Otherwise it is just extended.
I could take care of the implementation.
What do you think ?
Metadata
Metadata
Assignees
Labels
increased scopeIncreases project scope, or is out of scope.Increases project scope, or is out of scope.