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

Only works for one component. #1

Open
painedpineapple opened this issue Aug 8, 2018 · 0 comments
Open

Only works for one component. #1

painedpineapple opened this issue Aug 8, 2018 · 0 comments

Comments

@painedpineapple
Copy link

Hi @katmai7. Thanks for this project. I also set up the rollup-plugin-multi-entry plugin so that I can just pull all the .re files from my src/ dir. I'm running into an issue though... b/c all ReasonReact components are using the same let bindings for component, make, and default. Here are the errors.

rollup-plugin-multi-entry:entry-point re-exports 'component' from both src/Button.re and src/Component.re (will be ignored)
rollup-plugin-multi-entry:entry-point re-exports 'make' from both src/Button.re and src/Component.re (will be ignored)
rollup-plugin-multi-entry:entry-point re-exports '$$default' from both src/Button.re and src/Component.re (will be ignored)

Do you have a suggestion around this? My end goal is for anyone who includes this package can simply import { Button } from 'package-name'.

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

No branches or pull requests

1 participant