Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<Editor /> reports "Infinite loop" when using SWC minify on NextJS 12 #1993

Open
milanbgd011 opened this issue Nov 5, 2021 · 4 comments
Open
Labels

Comments

@milanbgd011
Copy link

I posted to NextJS as issue, but am putting it here so it can be visible.
Many people are using NextJS, version 12 introduces huge speedups with SWC, but there is a problem with "Editor" componet which breaks the build.

Version

"@toast-ui/editor": "3.1.1",
"@toast-ui/react-editor": "3.1.1",

Test Environment

macos, in terminal only

Current Behavior

here are full details I posted to nextjs swc minify issue:
vercel/next.js#30237 (comment)

Expected Behavior

Expected not to break the SWCminify when enabled.

@milanbgd011 milanbgd011 changed the title Editor reports "Infinite loop" when using SWC minify on NextJS 12 <Editor /> reports "Infinite loop" when using SWC minify on NextJS 12 Nov 5, 2021
@ghost
Copy link

ghost commented Nov 6, 2021

same here : vercel/next.js#31077

@js87zz
Copy link
Contributor

js87zz commented Nov 18, 2021

@milanbgd011
Sorry for late replying.
I would appreciate it if you could give me the exact environment and upload it. It is difficult for me to reproduce all issues myself.

@ghost
Copy link

ghost commented Nov 18, 2021

@js87zz

To Reproduce

clone https://github.com/find456789/tmp_nextjs12_swc
yarn or npm i
yarn build or npm run build

@stale
Copy link

stale bot commented Jan 3, 2022

This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks!

@stale stale bot added the inactive label Jan 3, 2022
@js87zz js87zz added Bug and removed inactive labels Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants