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

DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at node_modules\@hookform\resolvers\package.json #275

Closed
hc0503 opened this issue Nov 5, 2021 · 1 comment · Fixed by #276
Labels
enhancement New feature or request released

Comments

@hc0503
Copy link

hc0503 commented Nov 5, 2021

I've upgraded NextJS version to v12 and changed importing path of yupResolver.

import { yupResolver } from "@hookform/resolvers/yup/dist/yup";

That seems like work well in dev, but I get this when I build to production.

image

@JamesWong1999 JamesWong1999 mentioned this issue Nov 5, 2021
@bluebill1049 bluebill1049 added the enhancement New feature or request label Nov 5, 2021
bluebill1049 added a commit that referenced this issue Dec 12, 2021
@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version 2.8.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants