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

On temporarily re-opening next-transpile-modules #291

Open
martpie opened this issue Jun 19, 2023 · 0 comments
Open

On temporarily re-opening next-transpile-modules #291

martpie opened this issue Jun 19, 2023 · 0 comments

Comments

@martpie
Copy link
Owner

martpie commented Jun 19, 2023

I'll keep it short: one edgecase of next-transpile-modules it not covered by Next.js 13's transpilePackages, a few people cannot use the official solution, and require their packages to not be deprecated (corporate policies yadi yadi yada).

  • I removed the deprecation on next-transpile-modules and "un-archived" the repo
  • I closed all the previously open issues to have the issues as a way to close the gap with the official solution, not to support next-transpile-modules as a competing solution (it's not!)
  • ... but I don't plan to work on it (or max, on a best-effort basis)
  • PRs with fixes and improvements are welcome and I'll help review them

Eventually...

... it could be a good idea to have next-transpile-modules@vNext as a bridge between current next-transpile-modules and transpilePackages, so we would remove most of the code of next-transpile-modules (now obsolete, and native in Next.js), and just make sure next-transpile-modules overload transpilesPackages to make sure all existing setups work, until official fixes land in Next.js.

I said it and will repeat it again: if you want to invest time closing this gap: work directly on Next.js and submit a PR there. The only advantage of next-transpile-modules is speed of release, but this won't be last forever, and there will be a time I will retire this package for good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant