We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug I cannot get this library to work with typescript, it will always pop this error :
index.ts:1:19 - error TS2307: Cannot find module 'animejs/lib/anime.es.js'. 1 import anime from 'animejs/lib/anime.es.js'; ~~~~~~~~~~~~~~~~~~~~~~~~~ Found 1 error.
To Reproduce Steps to reproduce the behavior:
Create a file with import anime from 'animejs/lib/anime.es.js'; and a simple anime example inside
import anime from 'animejs/lib/anime.es.js';
And this error will pop.
Maybe I'm missing something but as far as I understand this example should work.
The text was updated successfully, but these errors were encountered:
Just use import anime from 'animejs'.
import anime from 'animejs'
Take a look at the package.json: { ..., "module": "lib/anime.es.js", ...}, Webpack will import anime.es.js directly.
{ ..., "module": "lib/anime.es.js", ...}
Sorry, something went wrong.
No branches or pull requests
Describe the bug
I cannot get this library to work with typescript, it will always pop this error :
To Reproduce
Steps to reproduce the behavior:
Create a file with
import anime from 'animejs/lib/anime.es.js';
and a simple anime example insideAnd this error will pop.
Maybe I'm missing something but as far as I understand this example should work.
The text was updated successfully, but these errors were encountered: