Skip to content

L8D/sourceify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Browserify transform for inlining external source map files (opposite of exorcist)

Resources

License

Stars

Watchers

Forks

Packages

No packages published