Commit bb0074ea authored by Robert Knight's avatar Robert Knight

Wait for final stream to finish

When building the bundle, wait for the final stream to finish writing
output, rather than the intermediate stream.
parent d90346c9
......@@ -221,7 +221,7 @@ module.exports = function createBundle(config, buildOpts) {
stream = stream.pipe(minifyStream());
}
stream.pipe(exorcist(sourcemapPath)).pipe(output);
stream = stream.pipe(exorcist(sourcemapPath)).pipe(output);
return streamFinished(stream);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment