As titled. In the example below you can see that unused styles are bundled- I'd expect that rollup is able to remove them in context of CSS-Modules
.
var styles = {"button":"Button__button","unused":"Button__unused"};
// eslint-disable-next-line no-unused-vars
function Button() {
return /*#__PURE__*/React.createElement("div", {
className: styles.button
});
}
export default Button;
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too