decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

code widget is partially broken in ESM builds

Open fgnass opened this issue 9 months ago • 0 comments

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.

fgnass avatar Mar 28 '25 15:03 fgnass