https://github.com/whaaaley/parcel-source-map-cli
Unofficial CLI for @parcel/source-map
https://github.com/whaaaley/parcel-source-map-cli
Last synced: about 1 year ago
JSON representation
Unofficial CLI for @parcel/source-map
- Host: GitHub
- URL: https://github.com/whaaaley/parcel-source-map-cli
- Owner: whaaaley
- License: isc
- Created: 2020-12-18T22:50:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-23T04:57:45.000Z (over 5 years ago)
- Last Synced: 2024-04-24T21:21:05.108Z (about 2 years ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# parcel-source-map-cli
> Unofficial CLI for @parcel/source-map
This is a _super minimal_ CLI wrapper around [`@parcel/source-map`](https://github.com/parcel-bundler/source-map) to make it a bit easier to merge source maps together on the fly.
Make sure to give [`@parcel/source-map`](https://github.com/parcel-bundler/source-map) a star. The fact that a group of developers is finally working on a fast source map package with a decent API is amazing. Despite being in alpha it's already game changing.
## Usage
If `stdin` is present it will be used as the primary source map.
If no `--out` flag is present then output is sent to `stdout`.
```sh
# simple usage
parcel-source-map --map foo.js.map --map bar.js.map --out app.js.map
# advanced usage
cat foo.js.map | parcel-source-map --map bar.js.map > app.js.map
```