developit / developit/microbundle
Add option to overwrite or extend default configs.
- Lingua principale
- JavaScript
- Stelle
- 8.1k
- Fork
- 358
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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 ?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.