You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Editor does not load in Next.js minified production build #292
Describe the bug
The editor fails to load in a minified production build of Next.js. I have tested and reproduced the bug with the latest version of Blocknote (v0.8.3), and with both app and page directory of Next.js.
Activity
dlwocks31 commentedon Aug 6, 2023
For anyone enconutering same issue, we end up solving this issue by creating custom TerserPlugin instance instead of using one created by Next.js by default. See https://github.com/dlwocks31/emobridge/blob/b561b7cf03ac2b7b889855336109b1f91ae8b2a4/next.config.js#L9