Bug Fixes
-
Tree-shaking: ESM entry points were incorrectly eliminated by bundlers
dist/*.esm.jsanddist/features/*.esm.jswere missing from the
sideEffectsfield inpackage.json. Bundlers such as Webpack and Rollup
treat files not listed as having side effects as safe to drop when they are
not explicitly imported, which caused chart type and feature registrations to
be silently tree-shaken away in production builds. Adding both glob patterns
ensures the self-registering ESM bundles are always retained.