Skip to content

Commit

Permalink
fix: correctly use rollup cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego committed Sep 25, 2018
1 parent f9cdf27 commit 324cde7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/best-build/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export async function buildBenchmark(entry, projectConfig, globalConfig, message
messager.logState('Bundling benchmark files...');

const bundle = await rollup(inputOptions);
ROLLUP_CACHE.set(projectName, bundle);
ROLLUP_CACHE.set(projectName, bundle.cache);
const outputOptions = Object.assign({}, BASE_ROLLUP_OUTPUT, {
file: path.join(benchmarkFolder, benchmarkJSFileName),
});
Expand Down

0 comments on commit 324cde7

Please sign in to comment.