Skip to content

Commit

Permalink
feat(core): pass through builder options to custom rollup config
Browse files Browse the repository at this point in the history
Just as the default rollup config is a function of builder options, so too should-be/could-be userland rollup configuration

Pass in full options to userland rollup config function
  • Loading branch information
cdaringe authored and vsavkin committed Aug 6, 2020
1 parent 8136b7a commit 68e169b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/builders/package/package.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export function createRollupOptions(
};

return options.rollupConfig
? require(options.rollupConfig)(rollupConfig)
? require(options.rollupConfig)(rollupConfig, options)
: rollupConfig;
});
}
Expand Down

0 comments on commit 68e169b

Please sign in to comment.