cpx-source-map
v1.0.0
Published
Source map transform for cpx
Downloads
3
Readme
cpx-source-map
Source map transform for cpx
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
License
ISC