Skip to content
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

Error with React #21

Open
tranduybau opened this issue Apr 29, 2022 · 3 comments
Open

Error with React #21

tranduybau opened this issue Apr 29, 2022 · 3 comments

Comments

@tranduybau
Copy link

image

Can you help me with that?

@yairEO
Copy link
Owner

yairEO commented Apr 29, 2022

Hi, what is your bundler? Rollup or Webpack or something else?

@fitiskin
Copy link

My guess is the problem here is that the react.fakescroll.js is imported directly.

@yairEO
Copy link
Owner

yairEO commented Apr 30, 2022

@fitiskin - how else would it be imported? There are 3 JS files in the repo, and and React file is not transpiled, so it must pass through your transpiler first, which means, it should be configured to transpile files from node_modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants