> If library authors make esm as a thin wrapper over cjs, won't it hinder tree shaking. Correct. I wouldn't follow the article's advice wrapping ESM with CJS as it leads to larger bundles. > Won't it cause degradation…
> If library authors make esm as a thin wrapper over cjs, won't it hinder tree shaking. Correct. I wouldn't follow the article's advice wrapping ESM with CJS as it leads to larger bundles. > Won't it cause degradation…