Issue with Plate.js AI editor on Remix Framework: Unknown file extension error #4141
-
Hello, I’ve been trying to install the Plate.js AI editor on a project using the Remix framework, but I'm encountering an issue during compilation. The error is as follows:
It seems that this error might be related to Remix, which uses Vite, as the same setup works fine with Next.js. Has anyone experienced this issue or knows how to resolve it in Remix? Any help would be greatly appreciated! Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ok, I managed to resolve this issue on my own. The solution was to add the following configuration to my vite.config.ts file:
This resolved the issue for me, and hopefully, it will help anyone else facing the same problem. Happy coding! 😊 |
Beta Was this translation helpful? Give feedback.
Ok, I managed to resolve this issue on my own. The solution was to add the following configuration to my vite.config.ts file: