Skip to content

Conversation

@alainux
Copy link

@alainux alainux commented Oct 1, 2025

Removes the root-level "type": "module" field that was preventing CommonJS projects from importing the package cleanly with TypeScript's node16 module resolution.

The package's dual build (with per-directory package.json files in dist/cjs/ and dist/esm/) and explicit exports field make this root field unnecessary. This change enables both ESM and CJS consumers to import without workarounds.

@alainux alainux changed the title fix(package): remove type=module CU-86c5ry72z fix(package): remove type=module 0 CU-86c5ry72z Oct 1, 2025
@alainux alainux changed the title fix(package): remove type=module 0 CU-86c5ry72z fix(package): remove type=module - CU-86c5ry72z Oct 1, 2025
@alainux alainux marked this pull request as draft October 20, 2025 09:20
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