3 ms·
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 respons
by frutiger 11y ago
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.
- AnkhMorporkian 11y agoAh, 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/6fc8631ba1aad718885151f4c2eb33596cc6fa45/src/Module.js https://github.com/rollup/rollup/blob/6fc8631ba1aad718885151...