ampproject/animations

Publish an esm version of `ampproject/animations`

Closed this issue · 2 comments

From ampproject/amphtml#19175 (comment)

@sparhami @cathyxz I'm in the process of upgrading closure compiler, and am running into some problems due to this PR. Specifically, the @ampproject/animations module appears to be common JS, and we will no longer support implicit transformation to ESM via closure. Any chance there's an ESM version of this library that we can use?

Added a comment here: ampproject/amphtml#19175 (comment), an esm output is already available. I think it might work with a newer version of Closure Compiler.

Yes, I was able to use the esm output you pointed me to. Thanks!