next-transpile-modules: Package.json's exports field causes issues

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 28 (15 by maintainers)

Most upvoted comments

@martpie it does not seem fixed on our end. The two packages we have problems with are dequal and nanoid. With next-transpile-modules:6.2.0 and next:10.0.6 we get the following error when transpiling:

image

Is there a quick workaround for this issue specifically?

Thanks for your time!

Well that’s interesting, but kinda defeat the purpose of exports fields 🤔