-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
Build doesn't work when using Dynamic Import #25077
Comments
I can confirm this is related to this |
Hi, I have issues with next/dynamic in production too after upgrading to next 10.2.1... the project built but when it is started javascript isn't executed at all: disabling webpack 5 the issue disappear |
This issue has been automatically closed after 30 days of inactivity with no reproduction. If you are running into a similar issue, please open a new issue with a reproduction. Thank you. |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
What version of Next.js are you using?
10.2.0
What version of Node.js are you using?
16.1.0
What browser are you using?
Chrome
What operating system are you using?
Windows
How are you deploying your application?
next build
Describe the Bug
When i try to build my app (
next build
) im getting this error:Expected Behavior
A successful compilation
To Reproduce
next build
To Bypass
When i use this on
next.config.js
it works:The text was updated successfully, but these errors were encountered: