Skip to content

Commit 2e87215

Browse files
committed
chore: exclude .mts sources from npm package
The compiled .mjs output in dist/ is what gets published. Keep .d.mts declaration files for TypeScript consumers.
1 parent edf2e8f commit 2e87215

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ example
2626

2727
# Exclude all TypeScript source files
2828
*.ts
29+
*.mts
2930
!*.d.ts
31+
!*.d.mts
3032
*test*.d.ts
33+
*test*.d.mts
3134

3235

3336
# Exclude native fuzzer sources

0 commit comments

Comments
 (0)