infra-geo-ouverte / igo2

Assemblage (IGO2) / Open GIS Infrastructure 2.0
https://infra-geo-ouverte.github.io/igo2/
Other
55 stars 32 forks source link

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

Closed alecarn closed 6 months ago

alecarn commented 7 months ago

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: https://github.com/infra-geo-ouverte/igo2-lib/pull/1625