-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
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
NPM package import error. #26
Comments
Yes, it is. Maybe you missed to install the package first? |
framer (the app) tries to install the package , but it failed to import the package. the package is not verified in their app , maybe. |
I think that dist/index.js is suitable for Webpack/Gulp. |
so , should I copy the whole thing dist/index.js or from number-filp.ts ? |
It depends on whether your development environment includes a ts explainer. If it support ts, number-flip.ts is good. But dist/index.js just works for both. |
Hi , I tried to import the package
import { Flip } from "number-flip"
to my framer project and this happens :my current hunch is that maybe the package is not ESM compatible.
so, is the package ESM compatible?
The text was updated successfully, but these errors were encountered: