Things I'm looking from my tool/toolchain:
- Bundle all the component codes into a single bundle.js
- Have a "watch" mode to watch for edits on files
- SPEED! There's nothing worse than painfully slow builds!
There is a whole array of posts and boilerplates available on Github. But most of them just have too many bells and whistles! I for one am not a big fan of hot-loading as I've had lots of troubles incorporating it with my existing projects.
Anyways this the setup I have right now. I use webpack to do the 4 things. This is the barebones webpack.config.js
Modify the "entry" to the entry point of your code.
This takes care of (1) and (2)
Use webpack --watch
to take care of (3) and (4)