megahertz / react-simple-wysiwyg

Simple and lightweight React WYSIWYG editor
https://megahertz.github.io/react-simple-wysiwyg/
MIT License
119 stars 21 forks source link

Failed to compile #15

Closed haxored closed 1 year ago

haxored commented 1 year ago

Failed to compile.

./node_modules/react-simple-wysiwyg/lib/index.es.mjs Can't import the named export 'createContext' from non EcmaScript module (only default export is available)

Do you have a solution for this? I know this is common when using Webpack but I am not using it.

megahertz commented 1 year ago

It works at least with webpack and vite. Which bundler and react version do you use?