This 3-parts series I’ve written on medium describes how I setup a JavaScript development environment based on Rollup.
The code explained in the articles is hosted in this repo and can be used as a boilerplate.
- [The first part](
https://medium.com/@camille_hdl/rollup-based-dev-environment-for-javascript-part-1-eab8523c8ee6) covers the bundler (Rollup), compiler (Babel), type checker (Flow) and HTTP server (serve).
- The second part sets up a simple Service Worker capable of precaching our application.
- The third and last part focuses on testing (jest and cypress), continuous integration and deployment.