-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
NextJS v13.0.1 breaks transpile #282
Comments
I hope this issue is resolved soon. https://beta.nextjs.org/docs/api-reference/next.config.js#transpilepackages |
Thank you very much for the report! It would seem their fix for the duplicated code in bundles have broken ntm. On a sidenote, we don't officially support Next 13 yet. Cf. #281 Regarding Cf. vercel/next.js#42136 for the feature gap. |
Thanks for opening the ticket @dohomi, we have encountered the same issue as well. This seems to be coming from a change introduced in 13.0.1 originating from this PR on NextJS: https://github.com/vercel/next.js/pull/42106/files The I am wondering if it's something we can patch for this, or it's something for NextJs maintainers to do (i.e. restore the |
Thank you for identifying the faulty commit, that will help a lot 👍 Please note that Next.js 13 is not yet supported by next-transpile-modules. You can check #281 for work in progress |
I've created a support ticket on NextJs repo to see if it's something they can fix for the moment being :) vercel/next.js#42296 @eugenejeonme We tried your solution of using the experimental transpilation flag, but as we are using Nx the issue simply bubbles up to |
@martpie We are indeed pushing our luck with the NextJs@13 upgrade, but so far everything worked perfectly with your plugin :) |
Fixed in |
Describe the bug
From NextJS 13.0.0 => 13.0.1 next stops compiling.
To Reproduce
Upgrade NextJS 13.0.0. => 13.0.1 with a
pages
folder structure.Expected behavior
NextJS 13.0.0 works fine, without any code change.
Setup
next-transpile-modules
version: 9.1.0The text was updated successfully, but these errors were encountered: