JSPM

sourcemap-rewind

0.1.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q28026F
  • License MIT

Unpack javascript with sourcemap to it's original state

Package Exports

  • sourcemap-rewind

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sourcemap-rewind) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

sourcemap-rewind

GitHub license npm

Rewind a compressed javascript to it's original project using sourcemap easily, such as your Borwserify project and Webpack project.


Usage

Make sure your packed js file and sourcemap are valid.

Use as a cli tool:

$ sudo npm install sourcemap-rewind -g
$ sourcemap-rewind -i app.js -o ./out

or

$ npm install sourcemap-rewind

then

const rewind = require('sourcemap-rewind');
rewind('Input/file/path.js','Output/directory/path');

License

MIT, © ClassicOldSong