Skip to content

Commit 4b2230c

Browse files
anomiexmatticbot
authored andcommitted
Exclude dev files from production builds at the package level (#47365)
Add production-exclude rules for source files (.ts, .tsx, .jsx, .scss) to package .gitattributes files. This ensures dev files are excluded when packages are installed into plugins via Composer. Also updates the package skeleton template with commented examples of common exclusion patterns. --------- Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/26050119273 Upstream-Ref: Automattic/jetpack@10d726e
1 parent 90145ff commit 4b2230c

255 files changed

Lines changed: 1 addition & 32110 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
This is an alpha version! The changes listed here are not final.
1111

1212
### Changed
13+
- Exclude development files from production builds.
1314
- Update package dependencies.
1415

1516
## [7.21.1] - 2026-05-11

docs/README.md

Lines changed: 0 additions & 117 deletions
This file was deleted.

docs/feedback-author-class.md

Lines changed: 0 additions & 262 deletions
This file was deleted.

0 commit comments

Comments
 (0)