Skip to content

feat: v5 improve collection handling / rebundling#6719

Merged
johnjenkins merged 1 commit into
v5from
v5-feat-explicit-collections-config
May 13, 2026
Merged

feat: v5 improve collection handling / rebundling#6719
johnjenkins merged 1 commit into
v5from
v5-feat-explicit-collections-config

Conversation

@johnjenkins
Copy link
Copy Markdown
Contributor

What is the current behavior?

GitHub Issue Number: #6641

importing any module / type from another stencil lib will re-bundle the whole thing

What is the new behavior?

  1. Only a sideEffect import will now re-bundle e.g. import "@my-thing/lib"
  2. A new explicit collections: ["@my-thing/lib"] property has been added to stencil.config

Documentation

Does this introduce a breaking change?

  • Yes
  • No

Users expecting any import to re-bundle a 3rd party lib must migrate to use one of the mentioned methods

Testing

Other information

@johnjenkins johnjenkins requested a review from a team as a code owner May 13, 2026 15:54
@johnjenkins johnjenkins merged commit 103319e into v5 May 13, 2026
27 checks passed
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