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

Add main key to package.json #157

Closed
wants to merge 1 commit into from
Closed

Conversation

th3fallen
Copy link
Contributor

Add a main key to package.json for webpack with package splitting

Add a main key to package.json for webpack with package splitting
@th3fallen
Copy link
Contributor Author

For those of us that wish to do webpack vendor splitting based on our package.json file since your package is named like a file without a main key webpack treats it as a file not a directory.

@chinchang chinchang mentioned this pull request Nov 5, 2016
@ameech
Copy link

ameech commented Nov 7, 2016

@chinchang any luck on getting this merged, I'm running into this issue as well. Thanks!

@@ -10,6 +10,7 @@
"email": "[email protected]",
"url": "http://kushagragour.in"
},
"main": "hint.css",
Copy link
Owner

Choose a reason for hiding this comment

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

@th3fallen Can you please move this alongside the similar key: style so that both are together.

Copy link
Owner

Choose a reason for hiding this comment

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

I made the change.

@chinchang
Copy link
Owner

merged manually. Thanks @th3fallen 👍

@ameech its live :)

fixes #149

@chinchang chinchang closed this Nov 7, 2016
@th3fallen th3fallen deleted the patch-2 branch November 7, 2016 20:30
@ameech
Copy link

ameech commented Nov 7, 2016

Thanks @chinchang!

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