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

Commit

Permalink
fix(rollup): pass all config options to generate
Browse files Browse the repository at this point in the history
  • Loading branch information
danbucholtz committed Mar 27, 2017
1 parent 6be05f9 commit 3502360
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/rollup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<any>[] = [];
Expand Down

0 comments on commit 3502360

Please sign in to comment.