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

chore: change main file path for bundlephobia #770

Merged
merged 1 commit into from
Oct 15, 2019
Merged

Conversation

jbadan
Copy link
Contributor

@jbadan jbadan commented Oct 15, 2019

Description

I believe this change might fix the bundlephobia errors we've been having. Because we cd lib then npm publish, there is no lib/index.js, just index.js.

I don't know how to test this besides merging and checking the build in bundlephobia 🤷‍♀

This might also fix the problem @parostatkiem had in codepen.

fixes #issueid

@jbadan jbadan requested a review from a team October 15, 2019 23:15
@netlify
Copy link

netlify bot commented Oct 15, 2019

Deploy preview for fundamental-react ready!

Built with commit 517c7ad

https://deploy-preview-770--fundamental-react.netlify.com

Copy link
Contributor

@hertweckhr1 hertweckhr1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 worth it to try it out

@markpalfreeman
Copy link
Contributor

I could see how this might fix publishing, but isn't the main entrypoint still lib/index.js?

Needs to study up more on package consumption

@jbadan
Copy link
Contributor Author

jbadan commented Oct 15, 2019

@markpalfreeman I'll revert if it breaks anything :)

@jbadan jbadan merged commit 712b947 into master Oct 15, 2019
@jbadan jbadan deleted the fix/bundlephobia branch October 15, 2019 23:51
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

Successfully merging this pull request may close these issues.

3 participants