plate icon indicating copy to clipboard operation
plate copied to clipboard

fix: add assertion on emoji-mart data for ESM mode

Open SamuelAlev opened this issue 1 year ago • 2 comments

Description

Allows testing with Vitest in full ESM mode, otherwise we get:

TypeError: Module "file:///[...]/node_modules/.pnpm/@[email protected]/node_modules/@emoji-mart/data/sets/14/native.json" needs an import attribute of type "json"

SamuelAlev avatar Feb 22 '24 17:02 SamuelAlev

🦋 Changeset detected

Latest commit: 546b8b4086653440342aeeab2e2343e3d1a09e27

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

This PR includes changesets to release 1 package
Name Type
@udecode/plate-emoji 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

changeset-bot[bot] avatar Feb 22 '24 17:02 changeset-bot[bot]

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 Feb 22, 2024 5:57pm

vercel[bot] avatar Feb 22 '24 17:02 vercel[bot]