You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Distributing a library pre-built helps avoid bugs due to differences in configuration states between computers and is generally considered good practice. Additionally, in case of ES6 builds, downstream consumers can tree shake these anyway, so footprint is not an issue.
I understand this is yet another hassle for maintainers, but tooling is much better than even a few years ago. If nothing we can try throwing Parcel or Vite at it as they require minimal configuration. ESBuild is significantly faster but will require more configuration (I don't have much experience as I used Rollup for my work previously).
The text was updated successfully, but these errors were encountered:
Over the years I don't think we've actually seen many problems for end users that can be ascribed to differences in configuration state, or a newly buggy release of a dependency creeping in because of open version ranges. To me the main value proposition of a bundle would be subfont installing faster.
Could be interesting to do a spike on it. Would probably be a challenge to get the wasm-based libraries to load correctly, but I'm sure that could be overcome with a bit of effort.
I also like rollup for things like these, it's very flexible and powerful. I don't think build speed is much of an issue, as it only needs to happen on release.
Distributing a library pre-built helps avoid bugs due to differences in configuration states between computers and is generally considered good practice. Additionally, in case of ES6 builds, downstream consumers can tree shake these anyway, so footprint is not an issue.
I understand this is yet another hassle for maintainers, but tooling is much better than even a few years ago. If nothing we can try throwing Parcel or Vite at it as they require minimal configuration. ESBuild is significantly faster but will require more configuration (I don't have much experience as I used Rollup for my work previously).
The text was updated successfully, but these errors were encountered: