Because we add support for ie 11 in prod builds, babel jumbles with the syntax for class extends HTMLElement which is required for defining custom html elements (not just messing with prototypes). So a change in perspective caused us to start pulling in this js file and transpiling it leading to throwing a TypeError: Illegal Constructor
License
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
Description
Because we add support for
ie 11
in prod builds, babel jumbles with the syntax forclass extends HTMLElement
which is required for defining custom html elements (not just messing with prototypes). So a change in perspective caused us to start pulling in this js file and transpiling it leading to throwing aTypeError: Illegal Constructor
License
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.