Skip to content

Conversation

@sunrabbit123
Copy link

@sunrabbit123 sunrabbit123 commented Jan 9, 2026

What changed with this PR:

just add tsdown and change package.json for to support cjs


https://www.npmjs.com/package/prettier-plugin-java-for-cjs?activeTab=code

thank you for making this project
wow, I surprise it

but this library is not support cjs, I failed use this on my project

- Refactor package.json to support both ESM and CJS module formats.
- Update repository URL to point to the new location.
- Replace TypeScript build command with tsdown for improved build process.
- Add tsdown configuration file for build settings.
- Update dependencies to include tsdown.
- Change homepage URL to point to the official documentation.
- Update repository URL to reflect the new GitHub location.
- Add main and module fields to specify entry points for CommonJS and ESM.
- Update exports structure to support both import and require formats with correct type definitions.
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