Rollup is a JavaScript module bundler used in a build process to combine ES modules into deployable bundles. It favors a simple setup over the configurability of tools such as Webpack, making it useful for quickly building components. section 12.0 section 12.4
A practical Rollup workflow includes:
- Install Rollup as a development dependency with npm, keeping the bundler out of the component code shipped to users. section 12.4
Build a slider bundle
Install Rollup with `npm install --save-dev rollup`, then run `npm run build` after defining a script that reads `src/slider.js`, writes `slider.js`, emits UMD output named `slider`, and generates a source map.
