reymond-group / smilesDrawer

A small, highly performant JavaScript component for parsing and drawing SMILES strings. Released under the MIT license.
https://smilesdrawer.rocks
MIT License
437 stars 70 forks source link

ESM #180

Closed duerrsimon closed 5 months ago

duerrsimon commented 11 months ago

Currently the library is only available as CJS. It would be great if a ESM version could also be made available. I know that some tools can transpile CJS to ESM but this doesn't work in all cases and since ESM is the somewhat new standard for Javascript modules.

https://github.com/gradio-app/gradio/issues/6087

duerrsimon commented 5 months ago

At least gradio can now deal with a CJS package because the build process was refined.

duerrsimon commented 5 months ago

Might be related to #183