Closed
Description
I'm using react-md-editor with next-remove-imports in a Next.js + Typescript project but getting blocked by the hordes of errors from importing the "commands" to add shortcuts to the title and aria-label of the buttons. I have read through previous issues of related errors but none seem to fix it for me. I have tried many combinations of implementation but all lead to errors such as
Error: Must use import to load ES Module:
Error: require() of ES Module
Cannot use import statement outside module
...and some others.
I have spun a replit with the error below. I tried adding "type": "module" in the package.json but it doesn't run.
https://replit.com/@alphacoma/react-md-editor-error-1
Metadata
Metadata
Assignees
Labels
No labels