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

Update lodash.last import in getLastEntryEnclosedInToggle.ts #2906

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

Liboul
Copy link
Collaborator

@Liboul Liboul commented Jan 31, 2024

Error while importing from @udecode/plate-toggle

Module not found: Error: Can't resolve 'lodash/last' in '/app/node_modules/@udecode/plate-toggle/dist' Did you mean 'last.js'?
BREAKING CHANGE: The request 'lodash/last' failed to resolve only because it was resolved as fully specified (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"'). The extension in the request is mandatory for it to be fully specified. Add the extension to the request.

Module not found: Error: Can't resolve 'lodash/last' in '/app/node_modules/@udecode/plate-toggle/dist'
Did you mean 'last.js'?
BREAKING CHANGE: The request 'lodash/last' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
Copy link

changeset-bot bot commented Jan 31, 2024

🦋 Changeset detected

Latest commit: 7fcf61c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@udecode/plate-toggle Patch
@udecode/plate Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Jan 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plate ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2024 6:45pm

@zbeyens zbeyens merged commit 6a4302c into main Jan 31, 2024
4 of 5 checks passed
@zbeyens zbeyens deleted the Liboul-fix-lodash-last-import branch January 31, 2024 18:31
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

Successfully merging this pull request may close these issues.

2 participants