1 min readJan 30, 2018
Hey, nice to see you again :)
- Yep, obviously, rollup just can’t know what variable means in bundled code (e.g.
EventBus
— is it dependency or just inlined code 🤔? Who knows). And here is the real problem when you have 3–4 packages that depends on similar package and all of ’em have it inlined (bundled). - My mistake. But I think it seems enough to just say that rollup is smart enough to not paste similar dependencies twice. Because we have equal imports (requires) in both files and can know that both contain equal code so it’s OK not to repeat it.
- Oh, I thought this part is OK (I mentioned that it provides more optimizations for ES 6 modules). Sorry, if it’s not clear, English is not my primary language (but I try to keep posts readable) :) Also, I didn’t want to long-dive into this part, because post was huge already.
- Cheater, I’ve not seen this yet :D
Thank you for your review (: