We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to include this in my file using import animateScrollTo from 'animated-scroll-to'; and I get the error:
import animateScrollTo from 'animated-scroll-to';
error: Error: 'default' is not exported by node_modules\animated-scroll-to\animated-scroll-to.js with layout.js
Bundling using babel.js and rollup.js, all other imports are working fine.
The text was updated successfully, but these errors were encountered:
OK, actually I just needed to add rollup-plugin-commonjs (after rollup-plugin-node-resolve )to my bundling file and it works.
rollup-plugin-commonjs
rollup-plugin-node-resolve
Sorry, something went wrong.
No branches or pull requests
Trying to include this in my file using
import animateScrollTo from 'animated-scroll-to';
and I get the error:error: Error: 'default' is not exported by node_modules\animated-scroll-to\animated-scroll-to.js with layout.js
Bundling using babel.js and rollup.js, all other imports are working fine.
The text was updated successfully, but these errors were encountered: