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

package.json main should point to compiled JS, not to JSX #5

Open
mwanji opened this issue Oct 24, 2015 · 2 comments
Open

package.json main should point to compiled JS, not to JSX #5

mwanji opened this issue Oct 24, 2015 · 2 comments

Comments

@mwanji
Copy link

mwanji commented Oct 24, 2015

I have the same issue as @AlexKovalevych in #4 : I get an error when I import the package.

I believe it is because package.json points to index.js as main, which contains raw JSX. It should, instead, point to ./dist/react-bootstrap-async-autocomplete.js. that is what react-autocomplete does, for example.

@robwithhair
Copy link

I am seeing this same issue. I don't see the component on the page though when I change the package.json

@robwithhair
Copy link

Now I'm getting this issue
image

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

2 participants