Dealing with the same aforementioned issues/questions, I ran across this GitHub repository:
This repository provides some additional hand-holding through the bundling process!
EDIT:
There’s even a thread on this forum about this repository: CodeMirror 6 Quickstart and Learn-By-Examples