Switch from Webpack to Rollup
Before we have Webpack only for test purpose. But as an independent package, a17-helpers should output code without the need of compiling. While Webpack is capable of doing that, Rollup is a better tool for library. It uses ES6 module as standard, thus makes tree shaking possible even after bundle the whole library as whole. details on https://rollupjs.org/guide/en
In this update:
- Reordered the file structure to make it clear.
- Add Rollup for module bundling. (Babel is used for ES6 compile)
- Add npm tasks that handle dev(watch mode) and prod.