An open API service indexing awesome lists of open source software.

https://github.com/thgh/deno-rollup

Rollup CLI for deno
https://github.com/thgh/deno-rollup

Last synced: 26 days ago
JSON representation

Rollup CLI for deno

Awesome Lists containing this project

README

          

# denorollup
Rollup CLI for deno

## Installation

```
npm install -g denorollup
# or
yarn global add denorollup
```

## Usage

```
denorollup [options]
Options:
-d, --dir Directory for chunks (if absent, prints to stdout)
-h, --help Show this help message
-i, --input Input (alternative to )
-m, --sourcemap Generate sourcemap (\`-m inline\` for inline map)
-o, --file 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`