Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Dec 27, 2024

resolves #324

add nested export conditions to be more friendly with typescript node16 resolution and use explicit cjs/mjs extensions.

this change was introduced in 18bc852 / 3.3.2 which caused a regression (#329) because of backward compatibility of libraries that depend on cjs + default export of consola (952b961 fixes it by using compat entry for exports.node.require.default condition.

@pi0 pi0 changed the title build/exports build: update exports for node16 typescript resolution Dec 27, 2024
@pi0 pi0 merged commit 9442ffb into main Dec 27, 2024
2 checks passed
@pi0 pi0 deleted the build/exports branch December 27, 2024 12:11
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.

Unable to import package under node16 module resolution mode

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.