bendc / animateplus

A+ animation module for the modern web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with IE/Edge

murilobd opened this issue · comments

I am using this library with vue-cli and got a problem running on IE/Edge. To fix that, I had to transpile with Babel and import the transpilled version instead of the package version.
Basically, what I've done was that:

babel transform-object-rest-spread node_modules/animateplus/animateplus.js --out-file animate.js

and on import part:

import animate from "./animate.js"

Sorry, what's the question?

Just a note so if someone runs with the same issue I had!
I took some time to realize that webpack (vue-cli) wasn't processing correctly the library and because of that, IE/Edge was reporting an error!

Ah yeah, thanks for letting me know!