1.0.1 • Published 8 years ago
mako-sourcemaps v1.0.1
mako-sourcemaps
A plugin for working with source maps.
Purpose
- converts file.sourceMapto either an inline comment or an external file (asfile.path + '.map')
- allows prior plugins to only care about the raw file.sourceMapobject
API
sourcemaps(extensions, options)
Create a new plugin instance, with the following options available:
- inlineset this as- trueto output inline source maps
- spacesset this to a number to pretty-print the map JSON with spaces
NOTE: by including this plugin, source maps are assumed to be on. (unlike other plugins, which
use the true/false/'inline' paradigm) If you don't want source maps enabled, exclude this plugin.