tajo / react-movable

🔀 Drag and drop for your React lists and tables. Accessible. Tiny.
https://react-movable.pages.dev
MIT License
1.53k stars 51 forks source link

Error on Electron #93

Closed benoitwerner closed 2 months ago

benoitwerner commented 1 year ago

Hello, I have this error using the package on an Electron app: <my_app_folder>/node_modules/react-movable/lib/index.js not supported. Instead change the require of index.js in null to a dynamic import() which is available in all CommonJS modules. On the web version it works fine.