UNPKG

604 BPlain TextView Raw
1usage: exorcist <mapfile> <exorcist-options>
2
3 Externalizes the source map of a file that is streamed into it by pointing it's source map url to the <mapfile>.
4 The original source map is written to the <mapfile> as json.
5
6OPTIONS:
7
8 --root -r The path to the original source to be included in the source map. (default '')
9 --url -u The path to the source map to which to point the sourceMappingURL. (default <mapfile>)
10
11EXAMPLE:
12
13 Bundle main.js with browserify into bundle.js and externalize the map to bundle.js.map
14
15 browserify main.js --debug | exorcist bundle.js.map > bundle.js