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

Bower JSON file needs "main" property in order to work with Yeoman Grunt script #4

Open
dantaylor opened this issue Oct 8, 2014 · 0 comments

Comments

@dantaylor
Copy link

Probably it would be good have this entered on the bower package for future releases:

At the bower.json file add the following:

"main": ["dist/compatibility.js", "dist/pdf.js"],
"description": "Bower build for mozilla/pdf.js.",
"moduleType": [
"node"
],

The "main:" property tells bower where to find the "dist" for the lib. Many json files for other libs specify that, and the Grunt script for Yeoman is no exception.

cheers!

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