bundle
steal-tools.streams.bundle
The bundle stream takes a stream of BuildResult objects and applies a progressive loading algorithm to split the graph into separate bundles optimized for fast loading.
stealTools.streams.bundle()
Returns
{Stream<BuildResult>}
A stream of objects that contains the dependency graph, with each module having been minified.
Use
Given a graph stream, you should first transpile and minify before applying the bundle stream: