node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

mapstraction

mapstraction

Browserify plugin to extract sourcemaps.

Build Status

This plugin was created to solve two problems: extract sourcemaps similar to exorcist but that would work without having to pipe results.

Usage

Include mapstraction as a Browserify plugin on the commandline. The name of the default file is the output name, (e.g., "bundle.js.map").

browserify main.js -o bundle.js -p mapstraction --debug

Named Output

Pass in an optional argument with the name of the map file.

browserify main.js -o bundle.js -p [ mapstraction "custom.js.map" ] --debug