PolymerElements / neon-animation

Polymer + Web Animations
https://www.webcomponents.org/element/PolymerElements/neon-animation
143 stars 98 forks source link

web-animation-js not found in production after last release! #245

Closed AliMD closed 6 years ago

AliMD commented 6 years ago

Description

We use polymer in production and all our products broken in new bower install!

screen shot 2018-02-21 at 9 54 15 am

The new updates of neon-animation had some modifications in the bower.json, and web-animation-js is moved in devDependencies instead of dependencies so bower doesn't download/unpack it if the right flash isn't set.

Would it not be more logical to put it back in dependencies?

Thank you in advance.

AliMD commented 6 years ago

I'm confusing I check All v2 version and have the same issue! When we import neon-animation/web-animations.html it must have the dependencies!

merlinnot commented 6 years ago

1) This element is deprecated 2) You’re supposed to import a polyfill yourself, as you do with any other polyfills (web components, reflect, whatever)

It’s a pretty easy fix :)

AliMD commented 6 years ago

I import it but it does not install with bower anymore ?! I'm confusing why its change in my last release with any code changes!