denorollup

Bundle with deno

Usage no npm install needed!

<script type="module">
  import denorollup from 'https://cdn.skypack.dev/denorollup';
</script>

README

denorollup

Rollup CLI for deno

Installation

npm install -g denorollup
# or
yarn global add denorollup

Usage

denorollup [options] <entry file>
Options:
-d, --dir <dirname>     Directory for chunks (if absent, prints to stdout)
-h, --help              Show this help message
-i, --input <filename>  Input (alternative to <entry file>)
-m, --sourcemap         Generate sourcemap (\`-m inline\` for inline map)
-o, --file <output>     Single output file (if absent, prints to stdout)
-v, --version           Show version number
-w, --watch             Watch files in bundle and rebuild on changes

Examples:

denorollup input.ts > output.ts

denorollup -m -i input.ts -o output.ts
denorollup --sourcemap --input input.ts --file output.ts

Build

To build this tool you need to have installed both Node and Deno

npm run build