Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use babel loose mode when transpiling classes
By default, Babel uses `Object.defineProperty()` when transpiling classes. We'll now use the loose mode which creates a more terse output. | | before | after | |----------|--------|--------| | min+gzip | 8.8 KB | 8.6 KB | | min+br | 8.0 KB | 7.7 KB | Reference: https://babeljs.io/docs/babel-plugin-transform-classes
- Loading branch information