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
- Host: GitHub
- URL: https://github.com/thgh/deno-rollup
- Owner: thgh
- License: mit
- Created: 2019-02-06T17:23:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-09T22:41:13.000Z (over 7 years ago)
- Last Synced: 2025-10-17T09:21:51.396Z (8 months ago)
- Language: JavaScript
- Size: 1.38 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`