[Bug] Editor.js bundle size is very large.
The bundle size for Editor.js after building is very large. Maybe removing some of the unnecessary parts of code or lazy loading some of the modules could help.
Current bundle size:

108.41 KB gzipped is "very large"? Ok, probably in 1998 I would have thought it was a problem too, the Internet was slow and expensive. But it's 2020. This is negligible for today's internet speed. It makes no sense to complicate the structure with lazy loading.
@sunmachines As someone who lived in a developing country, I think this narative of it's 2020 why worry about size is a bit harmful.
- Not everyone lives in a developed country with fiber. Even in developed countries like the US and Germany, there are lots of places where all you have is a 2g -3g cell connection. I'm writing this from a regional train in Germany with similar circumstances.
- Even in places with great internet, much of the internet is accessed by people on mobile on non-flagship phones. Parsing huge amounts of javascript isn't easy at all. Even here in Germany (Berlin), a lot of my friends use mobile devices from 5 years ago, struggle to use a huge part of the internet because of how slow these devices are, at loading this javascript.
Sorry for dropping this epistle here, but if you optimize for slow connections and not so fast devices, everyone benefits. If you optimize for flagship and fiber internet, you exclude the rest of us.
You could apply the same argument to accessibility. A small percentage is legally blind yet we give effort to supporting those people in apps. There's general TTI considerations. There's memory, power, & processor constraints in mobile devices. Some people use many open tabs. In general, a smaller payload is better, even today. The general attitude that we have modern equipment so efficiency does not matter is the reason why bloatware is rampant.
That being said, is there an option to load only the modules that are used in the app (tree-shaking)? The people who want a simple API with the kitchen sink that "just works" can still have it.
108.41 KB gzipped is "very large"? Ok, probably in 1998 I would have thought it was a problem too, the Internet was slow and expensive. But it's 2020. This is negligible for today's internet speed. It makes no sense to complicate the structure with lazy loading.
Sounds like something only an idiot would say.