Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
270 stars 75 forks source link

perf: research building output targets separately from calcite-components #7111

Open benelan opened 1 year ago

benelan commented 1 year ago

Description

Our monorepo follows Stencil's output targets example project, where the React output target is built every time the web components build. Building CCR isn't necessary for most of our day-to-day development, so it would be nice to split that process into a separate step.

Proposed Advantages

Build performance, although I doubt generating the CCR source takes very long since it is so small.

Which Component

Stencil/monorepo configuration

Relevant Info

https://github.com/Esri/calcite-components/pull/6988#discussion_r1214730104

geospatialem commented 2 months ago

Effort requires build benchmarking to determine if the above is feasible and should be adopted.

Some opportunities for the above: