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

feat!: migrate to native esm #1079

Merged
merged 1 commit into from
Dec 13, 2024
Merged

feat!: migrate to native esm #1079

merged 1 commit into from
Dec 13, 2024

Conversation

AviVahl
Copy link
Contributor

@AviVahl AviVahl commented Dec 13, 2024

  • use "type": "module"
  • use "exports"
  • convert cjs scripts to esm
  • adjust relative imports to use .js postfix
  • use node16 target/moduleResolution
  • mark package as "sideEffects": false
  • avoid publishing src/test and src/tsconfig.json

- use "type": "module"
- use "exports"
- convert cjs scripts to esm
- adjust relative imports to use .js postfix
- use node16 target/moduleResolution
- mark package as "sideEffects": false
- avoid publishing src/test and src/tsconfig.json
@AviVahl AviVahl merged commit 70ae72e into master Dec 13, 2024
6 checks passed
@AviVahl AviVahl deleted the avi/native-esm branch December 13, 2024 21:13
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