Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optim: specify version in @babel/plugin-transform-runtime
- the default is 7.0.0, but we are on a newer version, so we can use newer / more optimized helpers - `createSuper` now seems to be used, which required 7.9.0: https://github.com/babel/babel/blob/9199565fa08d840c8f1cc86c1b22be119b538f2f/packages/babel-helpers/src/helpers.ts#L624 - this seems to replace the `possibleConstructorReturn` and `getPrototypeOf` helpers - roughly ~6% minified size decrease as a result! - change babel.config.js's caching to include @babel/runtime's version since we would need to rebuild if it changes
- Loading branch information