Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 3502360

Browse files
committed
fix(rollup): pass all config options to generate
1 parent 6be05f9 commit 3502360

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/rollup.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@ export function rollupWorker(context: BuildContext, configFile: string): Promise
8888
cachedBundle = bundle;
8989
}
9090

91-
const bundleOutput = bundle.generate({
92-
format: rollupConfig.format,
93-
sourceMap: rollupConfig.sourceMap
94-
});
91+
const bundleOutput = bundle.generate(rollupConfig);
9592

9693
// write the bundle
9794
const promises: Promise<any>[] = [];

0 commit comments

Comments
 (0)