Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/forivall/cpx-source-map
Source map transform for cpx
https://github.com/forivall/cpx-source-map
Last synced: about 1 month ago
JSON representation
Source map transform for cpx
- Host: GitHub
- URL: https://github.com/forivall/cpx-source-map
- Owner: forivall
- License: isc
- Created: 2019-10-29T21:48:19.000Z (about 5 years ago)
- Default Branch: latest
- Last Pushed: 2023-01-04T23:43:29.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T12:49:56.676Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 896 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cpx-source-map
Source map transform for cpx
[![build status](https://secure.travis-ci.org/forivall/cpx-source-map.svg)](http://travis-ci.org/forivall/cpx-source-map)
[![dependency status](https://david-dm.org/forivall/cpx-source-map.svg)](https://david-dm.org/forivall/cpx-source-map)
[![coverage status](https://coveralls.io/repos/github/forivall/cpx-source-map/badge.svg)](https://coveralls.io/github/forivall/cpx-source-map)## Installation
```
npm install --save cpx-source-map
```## Usage
This requires [`cpx`](https://github.com/mysticatea/cpx) > v1.5.0. Until a new
version is released, use `npm install github:mystictea/cpx` to install cpx
directly from the github repo.Use `cpx-source-map` with the `--transform` flag for cpx. For example, to copy
pure javascript and typedefs to your lib directory, with source maps for vscode
navigation, I use the following:
```sh
cpx --transform cpx-source-map --verbose 'src/**/*.{js,d.ts}' lib
```## Credits
[Emily Marigold Klassen](https://github.com/forivall/)## License
ISC