Add a Github page where you can paste code and get tree-shaking errors highlighted
lukastaegert opened this issue · 0 comments
lukastaegert commented
Even though this plugin might be useful for library developers, I see its main use as a tool to manually check why tree-shaking does not work in a particular case. That easiest way to do this would be if there was a web app where you could paste your code and get your errors highlighted as it is done in https://eslint.org/demo/.
If someone has some experience with this or would be interested in helping to set something up this would be greatly appreciated. Bonus points if it is possible to generate links to a pre-filled version of this page because then you could use it as an easy reference when discussing tree-shaking problems in Github issues of Rollup or Webpack.