Skip to content

Issue with Plate.js AI editor on Remix Framework: Unknown file extension error #4141

Answered by tomasconnor
tomasconnor asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, I managed to resolve this issue on my own. The solution was to add the following configuration to my vite.config.ts file:

ssr: {
  noExternal: [
    "@udecode/cmdk",
    "@udecode/cn",
    "@udecode/plate",
    "@udecode/plate-ai",
    "@udecode/plate-alignment",
    "@udecode/plate-autoformat",
    "@udecode/plate-basic-marks",
    "@udecode/plate-block-quote",
    "@udecode/plate-break",
    "@udecode/plate-callout",
    "@udecode/plate-caption",
    "@udecode/plate-code-block",
    "@udecode/plate-combobox",
    "@udecode/plate-comments",
    "@udecode/plate-date",
    "@udecode/plate-dnd",
    "@udecode/plate-docx",
    "@udecode/plate-emoji",
    "@udecode/plate-excalidraw",
    …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tomasconnor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant