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
Compile ESM bundle to CJS using Babel instead of Rollup. (#4911)
* Compile ESM bundle to CJS using Babel instead of Rollup.
#4843 (comment)Fixes#4843.
* Bump apollo-cache-inmemory bundle size limit from 5KB to 5.05KB.
* Mention PR #4911 in CHANGELOG.md.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,9 @@
2
2
3
3
## Apollo Client (vNEXT)
4
4
5
+
- In all Apollo Client packages, the compilation of `lib/bundle.esm.js` to `lib/bundle.cjs.js` and `lib/bundle.umd.js` now uses Babel instead of Rollup, since Babel correctly compiles some [edge cases](https://github.com/apollographql/apollo-client/issues/4843#issuecomment-495717720) that neither Rollup nor TypeScript compile correctly. <br/>
6
+
[@benjamn](https://github.com/benjamn) in [#4911](https://github.com/apollographql/apollo-client/pull/4911)
7
+
5
8
### Apollo Cache In-Memory
6
9
7
10
- Pretend that `__typename` exists on the root Query when matching fragments. <br/>
0 commit comments