Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Prevent
VideoInterface
class from being bundled (#37080)
`esbuild` lacks the `@interface` concept from Closure. As a result, it believes that `VideoInterface.prototype.element;` could have side effects, and preserves the empty class. Bundles that import utilities from `src/video-interface.js` include this useless class. We avoid this issue by defining dynamic getters instead.
- Loading branch information