Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core Refactor - migrate to secondary entrypoints to optimize de bundle size #1141

Conversation

alecarn
Copy link
Collaborator

@alecarn alecarn commented Feb 5, 2024

This is a refactor of how the core package is structured. We propose to compose with secondary entrypoint to enable a better tree shakable library. There will not be a visible difference for the igo2 application, but each application that only uses part of the lib will have a major gain over a reduced bundle size.

Linked PR in the igo2-lib project: infra-geo-ouverte/igo2-lib#1625

@alecarn alecarn requested a review from pelord February 5, 2024 13:30
@alecarn alecarn self-assigned this Feb 5, 2024
@alecarn alecarn changed the title Core Refactor - migrate to sub-entrypoints to optimize de bundle size (BREAKING CHANGE) Core Refactor - migrate to secondary entrypoints to optimize de bundle size (BREAKING CHANGE) Feb 5, 2024
@alecarn alecarn changed the title Core Refactor - migrate to secondary entrypoints to optimize de bundle size (BREAKING CHANGE) Core Refactor - migrate to secondary entrypoints to optimize de bundle size Feb 5, 2024
Base automatically changed from release/17.0.0 to next February 19, 2024 21:54
@alecarn alecarn force-pushed the 1405--core-assembly-analysis-of-the-size-of-our-packages-and-strategies-to-optimize-them branch from 8249807 to 67c7dc1 Compare March 8, 2024 13:39
@alecarn alecarn merged commit 36f99be into next Mar 8, 2024
4 checks passed
@alecarn alecarn deleted the 1405--core-assembly-analysis-of-the-size-of-our-packages-and-strategies-to-optimize-them branch March 8, 2024 15:08
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