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[] = [];