Chart.js v3 tree-shaking removes chart controllers in production builds
Context A Chart.js v3 configuration that renders correctly when loaded via a full UMD bundle in development can fail after a production build with tree-shaking enabled. The ES module entry point does not automatically export or register controllers, elements, scales, or plugins; each must be explicitly imported and registered with Chart.register() . Bundlers