News for hackers. Stuff that matters.
Re:CoreUtils implemented in pure JavaScript by frutiger on Tuesday March 22, 2016 @11:01PM (#11341816)
That much makes sense, but if I understand GGGP's example properly, they are talking about pruning unused internal references within a module, but GGP's response implies that somehow Rollup will prune those out.
Re:CoreUtils implemented in pure JavaScript by AnkhMorporkian on Wednesday March 23, 2016 @07:52AM (#11343595)
Ah, I understand the confusion now. I'm not 100% sure how that code works, but I do know it uses estree and that case is tested for, nearly verbatim. Here's a link to the source which handles that sort of stuff.

https://github.com/rollup/rollup/blob/6fc8631ba1aad718885151...