diff --git a/scripts/partialBuild.js b/scripts/partialBuild.js
index <HASH>..<HASH> 100644
--- a/scripts/partialBuild.js
+++ b/scripts/partialBuild.js
@@ -12,7 +12,7 @@ rollupConfig.plugins.push(partialBuildPlugin);
 rollup.rollup(rollupConfig).then(function(bundle) {
   return bundle.generate(rollupConfig.output);
 }).then(function(result) {
-  process.stdout.write(result.code);
+  result.output.forEach(x => process.stdout.write(x.code))
 });
 
 function partialBuild(options) {
fix: partial build (#<I>)

* fixed partial build output



* write multiple chunks