How to package @codemror/language-data into a single file with Rollup or in other ways

Hello! Thank you very much for providing such an excellent editor!

I want to highlight code blocks in markdown mode, so I introduce @codemirror/language-data, but rollup does not allow compiling this when saving. You need to set the rollup packaged file to a modular type, as shown below. Is this specially set?

Maybe Rollup’s inlineDynamicImports option is what you’re looking for?

That may be what I need, thank you!