Skip to content

Conversation

Prajwal04M
Copy link

What this does

Adds "type": "module" to the package.json to ensure proper ESM support for bundlers like Vite and Vitest.

Why

This resolves the error:

Module ... seems to be an ES Module but shipped in a CommonJS package.

Fixes

Closes #327

Copy link

codesandbox bot commented Jul 22, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

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.

Add the "type": "module" to the package.json file
1 participant