1.0.0 • Published 5 years ago

cpx-source-map v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

cpx-source-map

Source map transform for cpx

build status dependency status coverage status

Installation

npm install --save cpx-source-map

Usage

This requires 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:

cpx --transform cpx-source-map --verbose 'src/**/*.{js,d.ts}' lib

Credits

Emily Marigold Klassen

License

ISC