🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign 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

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
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.

Usage

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

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

bundler.bundle();
// ...

License

Copyright © 2019 Tenor Biel

Released under the MIT license.

Keywords

browserify

FAQs

Package last updated on 26 Mar 2019

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