ezolenko / rollup-plugin-typescript2

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

refactor: move `generateRound = 0` to `buildEnd` #390

Closed agilgur5 closed 2 years ago

agilgur5 commented 2 years ago

Summary

Put generateRound = 0 in buildEnd instead of transform

Details

Review Notes

Note that generateRound is literally only used for logging purposes now, since the buildEnd refactor made it otherwise unneeded for its original purpose of not duplicating type-check errors between different outputs. Could totally remove it as well 🤷