Skip to content

Enforce import extensions and add all missing extensions - #42

Merged
smoores-dev merged 1 commit into
mainfrom
fix-import-extensions
Jun 16, 2026
Merged

Enforce import extensions and add all missing extensions#42
smoores-dev merged 1 commit into
mainfrom
fix-import-extensions

Conversation

@smoores-dev

Copy link
Copy Markdown
Member
  • Adds the extensions oxlint rule to published packages to enforce file extensions on every import and export.
  • Adds the rewriteRelativeImportExtensions compiler option to automatically re-write all .ts extensions to .js
  • Fixes all of the missing extensions

If we're gonna say we're publishing ESM, we should actually publish ESM!

@smoores-dev
smoores-dev merged commit 19a9494 into main Jun 16, 2026
2 checks passed
@smoores-dev
smoores-dev deleted the fix-import-extensions branch June 16, 2026 17:31
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