🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

sourceify

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sourceify

Browserify transform for inlining external source maps

0.1.0
Source
npm
Version published
Weekly downloads
10
-54.55%
Maintainers
1
Weekly downloads
 
Created
Source

sourceify

Browserify transform for inlining source maps. Sourceify will read comments like // sourceMappingURL=... that refer to external files, and will attempt to read and inline those so that browserify can include those source maps when producing bundle-wide source maps. It also tries to handle source roots, by treating the source root as relative to the package root. See how source maps are generated in my other libraries (yokohama, hiroshima, tokyo) for an example of how to compute source roots.

Usage

var browserify = require('browserify');
var sourceify = require('sourceify');

var bundler = browserify({
    debug: true,
    // options
    transform: [sourceify]
});

bundler.bundle();
// ...

License

Copyright © 2016 Tenor Biel

Released under the MIT license.

Keywords

browserify

FAQs

Package last updated on 27 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts