From 3502360fe1b70917ba8286aa540422d87ea421d5 Mon Sep 17 00:00:00 2001 From: Dan Bucholtz Date: Mon, 27 Mar 2017 11:02:44 -0500 Subject: [PATCH] fix(rollup): pass all config options to generate --- src/rollup.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/rollup.ts b/src/rollup.ts index 430f67c0..a9772775 100644 --- a/src/rollup.ts +++ b/src/rollup.ts @@ -88,10 +88,7 @@ export function rollupWorker(context: BuildContext, configFile: string): Promise cachedBundle = bundle; } - const bundleOutput = bundle.generate({ - format: rollupConfig.format, - sourceMap: rollupConfig.sourceMap - }); + const bundleOutput = bundle.generate(rollupConfig); // write the bundle const promises: Promise[] = [];