build: get the demos working again

This commit is contained in:
Nick the Sick 2024-10-24 00:43:41 +02:00
parent ffd9a46cc4
commit b4f7a2cca3
No known key found for this signature in database
GPG Key ID: F575992F156E5BCC

View File

@ -41,6 +41,10 @@ const getPackageDependencies = () => {
}
})
// Handle the JSX runtime alias
paths.unshift({ find: '@tiptap/core/jsx-runtime', replacement: resolve('../packages/core/src/jsx-runtime.ts') })
paths.unshift({ find: '@tiptap/core/jsx-dev-runtime', replacement: resolve('../packages/core/src/jsx-runtime.ts') })
return paths
}