decap-cms
decap-cms copied to clipboard
code widget is partially broken in ESM builds
Currently, the code widget does not work properly in ESM builds as it calls require() with a dynamic argument, hence the dynamic loading of language modes is broken.
I'll open a PR to propose a fix.