Due to the eval in the inline function, rollup (and likely other bundlers/minimizers) doesn't realize it shouldn't rename the Element class. Fortunately, this.name works in a static context so we can just use whatever the current classname is instead.
Due to the eval in the inline function, rollup (and likely other bundlers/minimizers) doesn't realize it shouldn't rename the Element class. Fortunately, this.name works in a static context so we can just use whatever the current classname is instead.