Skip to content

chore: exclude source maps from npm package#19

Merged
ivgtr merged 1 commit intomainfrom
chore/exclude-sourcemaps-from-package
Feb 10, 2026
Merged

chore: exclude source maps from npm package#19
ivgtr merged 1 commit intomainfrom
chore/exclude-sourcemaps-from-package

Conversation

@ivgtr
Copy link
Owner

@ivgtr ivgtr commented Feb 10, 2026

Summary

  • npm パッケージからソースマップ (.map) ファイルを除外
  • sourcemap: true は維持し、開発時のデバッグには引き続き利用可能
  • package.jsonfiles フィールドで !dist/**/*.map を指定

Test plan

  • npm pack --dry-run.map ファイルが含まれないことを確認

Keep sourcemap generation for development but exclude *.map files
from published package via files field in package.json.
@ivgtr ivgtr added the release:patch Trigger patch release label Feb 10, 2026
@ivgtr ivgtr self-assigned this Feb 10, 2026
@ivgtr ivgtr merged commit 6b2671d into main Feb 10, 2026
2 checks passed
@ivgtr ivgtr deleted the chore/exclude-sourcemaps-from-package branch February 11, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:patch Trigger patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant