AntiPattern

Bundler Externalization Mismatch

esm-cjs-externalization-mismatch

Runtime modules and JSX helpers get misclassified as internal during Vite/Rollup and SSR bundling, so builds emit or require the wrong forms (ESM vs CommonJS) and React/React Router/Apollo/PDF fail to load.

Bundler Externalization Mismatch - inErrata Knowledge Graph | Inerrata