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

Resolve "Directory import '.../jsx-dom/min' is not supported resolvin… #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

volkanceylan
Copy link
Contributor

@volkanceylan volkanceylan commented Dec 23, 2024

The prior pull request fixed the issue with jsx-dev-runtime for both min and full ESM version but still getting following when using jsx-dom/min:

Resolve "Directory import '...../jsx-dom/min' is not supported resolving ES modules imported from ...../jsx-dom/min/jsx-runtime.js" 

This is caused by "export { Fragment, jsx, jsx as jsxDEV, jsx as jsxs } from "jsx-dom/min";" as it should have /index.js at the end for ESM.

…g ES modules imported from ../jsx-dom/min/jsx-runtime.js" is vitest. This is caused by "export { Fragment, jsx, jsx as jsxDEV, jsx as jsxs } from "jsx-dom/min";" as it should have /index.js at the end for ESM.
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.

1 participant