mirror of https://github.com/lukechilds/rollup.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
794 B
794 B
rollup version <%= version %>
Usage: rollup [options]
Basic options:
-v, --version Show version number
-h, --help Show this help message
-i, --input Input (alternative to )
-o, --output Output (if absent, prints to stdout)
-f, --format [umd] Type of output (amd, cjs, es6, iife, umd)
-n, --name Name for UMD export
-u, --id ID for AMD module (default is anonymous)
-m, --sourcemap Generate sourcemap (-m inline
for inline map)
Example:
rollup --format=cjs --output=bundle.js -- src/main.js
Notes:
- When piping to stdout, only inline sourcemaps are permitted
For more information visit https://github.com/rollup/rollup/wiki