minify
steal-tools.streams.minify
Given a stream of BuildResult objects, minify the source of each module in each bundle. This is the default behavior of StealTool's multi-build.
stealTools.streams.minify()
Returns
{Stream<BuildResult>}
A stream of objects that contains the dependency graph, with each module having been minified.
Use
This stream minifies the modules in a dependency graph. Instead of minifying the entire bundle once concatenated, this will minify each module individually.
This API must be used in conjuction with graph.