The vendor.js file of a new empty docz project is about 1.6MB big (unminified).

This is mostly due to using codemirror. It might help looking for alternatives like react-live.

See here for some more discussion:

https://github.com/pedronauck/docz/issues/415#issuecomment-434131351