ezolenko / rollup-plugin-typescript2

Rollup plugin for typescript with compiler errors.
MIT License
820 stars 71 forks source link

clean: remove backward-compat checks for old Rollup versions #374

Closed agilgur5 closed 2 years ago

agilgur5 commented 2 years ago

Summary

Clean up some old backward-compat checks that are no longer necessary for the minimum version of Rollup that rpt2 requires

Details

Future Work

ezolenko commented 2 years ago

btw, there is no reason not to bump minimum rollup version if we need to use anything new, I expect most people either update whole build toolchain, or freeze the lot. Well, all sane people would anyway... :)

agilgur5 commented 2 years ago

btw, there is no reason not to bump minimum rollup version if we need to use anything new

Yea I figure, given how old the current min is, but that also would technically be a breaking change, so also wouldn't want to do so without good reason. So far, I haven't encountered anything that needed new APIs though (which is surprising, because as a Rollup user, it seemed like I had to update quite a lot for Rollup 2, but now, as a plugin developer, I'm not seeing the same need to upgrade 🤷 )