rollup
Next-generation ES6 module bundler
Install
- All systems
-
curl cmd.cat/rollup.sh
- Debian
-
apt-get install rollup
- Ubuntu
-
apt-get install rollup
- Arch Linux
-
pacman -S rollup
- Kali Linux
-
apt-get install rollup
- Fedora
-
dnf install rollup
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install rollup
- Dockerfile
- dockerfile.run/rollup
rollup
Next-generation ES6 module bundler
Rollup is a smaller, more efficient alternative to webpack and Browserify to bundle JavaScript files. Compared to the other tools for creating JavaScript bundles, Rollup will almost always create a smaller, faster bundle. This happens because Rollup is based on ES2015 modules, which are more efficient than CommonJS modules, which are what webpack and Browserify use. It’s also much easier for Rollup to remove unused code from modules using something called tree-shaking, which basically just means only the code we actually need is included in the final bundle. Node.js is an event-based server-side JavaScript engine.