Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmuellr/cat-source-map
Concatenate files, handling sourcemap bits
https://github.com/pmuellr/cat-source-map
Last synced: about 1 month ago
JSON representation
Concatenate files, handling sourcemap bits
- Host: GitHub
- URL: https://github.com/pmuellr/cat-source-map
- Owner: pmuellr
- License: apache-2.0
- Created: 2013-10-09T22:29:46.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-04-16T10:11:27.000Z (over 5 years ago)
- Last Synced: 2024-09-15T06:49:48.002Z (4 months ago)
- Language: CoffeeScript
- Size: 29.3 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cat-source-map
================================================================================concatenate JavaScript files, handling source map bits
usage
================================================================================cat-source-map [options] srcFile1 srcFile2 ... outFile
options:
--fixFileNames -f normalize file names
--verbose -v be verbose
--help -h print this helpOutput files ${outFile} and ${outFile}.map.json will be generated by
concatenating the source files into the outFile, and recalculating the
source maps into the .map.json outFile.The --fixFileNames option will try to make the file names in the output
`sources` property relative and will remove leading . and .. path entries.installation
================================================================================npm install cat-source-map
You probably just want to add this to each package that uses it, as an
entry in `devDependencies`. You can then invoke it from a build script as
`node_modules/.bin/cat-source-map`.hacking
================================================================================license
================================================================================[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)