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

Request an example of React/Angular buildable libraries #150

Open
alexander-r-jaimy opened this issue Jun 2, 2021 · 1 comment
Open

Comments

@alexander-r-jaimy
Copy link

Good afternoon,
I'd like to enable the power of buildable libraries in my project.
Unfortunately I don't quite understand how to polyfill? missing imports.

I've got errors similar to:
Screenshot from 2021-06-02 14-23-19

Could an example be provided of how to build libraries with react presentational components?

@alexander-r-jaimy
Copy link
Author

I've figured out that I need to indicate peerDependencies.
Screenshot from 2021-06-02 15-02-08

Now I wonder why only react-is is needed and should I worry about a bundler "guessing" a wrong library?
Screenshot from 2021-06-02 14-59-16

Could you tell me what's the best practice here?

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