Rollup is used to bundle JavaScript modules and styles (css or scss).
It comes preconfigured with
- Rollup,
- Jest and
- airbnb .jshintrc
write
- Javascript in the
srcfolder, - scss in the
stylesfolder and - tests in the
testfolder
install the dev dependencies:
npm irun minification and browsersync (watches file changes):
npm run devrun tests (incl. coverage):
npm testPRs welcome!