@allObjects I agree (if I got all the words right ;)). This is exactly the reason there is the
buildEspruinoConfig (see at github).
It returns ready-to-go rollup config based on minimal input should contain all the necessary rollup plugins configured properly to support the default Espruino environment. I assume we can build it into the IDE so that the experience stays as lightweight as possible.
All that while providing a way for production minded people to tweak the setup or build it completely from scratch to fulfill their special needs.