You might want to check out @jimpick’s ES module builds of ProseMirror: ES Modules Demo
If you want to do this in production you should probably generate your own ES module builds, but for rapid prototyping it’s quite convenient to be able to use his directly from unpkg in bare module-type script tags with no transpiler or build step.