Open evenstensberg opened 1 week ago
I think this should be in v3 as itβs a breaking change.
Thanks for the suggestion. Would you be able to share examples of where this would change in our codebase please?
You export the web components individually and then include the exports in index.js.
This means that the files exported individually should be accessed directly from their folders without the barrel file (index.js)
Itβs a bundler issue, so Iβve sent a message in the stencil discord to figure out how it could work.
Summary
Barrel files often makes optimisations and performance worse. This project should move from barrel files to absolute imports to improve performance and readability for components.
π¬ Description
See above
π° Use value
π Acceptance Criteria
Given removal of barrel files When building the components Then it should improve load times and performance
β Designs
N/A
β―π§Ύ Guidance
Additional info
N/A