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

Specify main in package.json #68

Merged
merged 1 commit into from
Jan 14, 2015
Merged

Conversation

AsaAyers
Copy link
Contributor

Node's resolution algorithm (also used by Browserify) will only find your file if it's named index.js or if you specify main in package.json.

Node's resolution algorithm (also used by Browserify) will only find your file if it's named `index.js` or if you specify `main` in `package.json`.
zackbloom added a commit that referenced this pull request Jan 14, 2015
Specify main in package.json
@zackbloom zackbloom merged commit df8cd44 into shipshapecode:master Jan 14, 2015
@bravomartin
Copy link

please publish this on npm :)

@AsaAyers
Copy link
Contributor Author

I probably should have commented here before, but after making the PR I also found I could require('tether/tether') as a workaround.

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