Merott / nativescript-pdf-view

A basic PDF viewer plugin for NativeScript. Now maintained by @madmas: github.com/madmas/nativescript-pdf-view
Other
32 stars 35 forks source link

Fix for bundling in nativescript #9

Closed corne-de-bruin closed 7 years ago

Merott commented 7 years ago

Thank you for the PR @corne-de-bruin

I guess this is to address the issue described in #8, but I'm wondering whether this is the way to go. Wouldn't that cause a problem for projects that aren't using Typescript?

Setting noEmitHelpers: true would prevent __extends to be defined, but it's still being used by the code, so it has to be defined somewhere. Where would that be?