Add Npm package for Amp with typescript definitions
Right now it is difficult if you use webpack or similar because it relies heavily on npm and node_modules. It would be highly beneficial if this was setup properly for AMP with full typescript definitions available in the package as well.
Paul Lunt commented
Still causing developers issues.
A must, come on Microsoft, shouldn't be releasing stuff like this these days - npm package please
Anthony Cleaver commented
Currently the only way to use the client side player is to include a reference to the CDN (please correct me if I'm wrong I'm basing this off the documentation). We're pointing at an arbitrary URL that can change over time and we don't control the content behind it - this makes me nervous from a security standpoint and obviously isn't really good enough for an enterprise level application. We can't even download the files from the CDN to bundle with our application as they seem to then reference other files.
To me it seems to be a pretty simple thing to implement but at least for myself and my company this is a pretty big deal.
This should be the primary way to use the player in the first place !!
Aziz Azzizzle Alibasic commented
I second this.