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 should not have minified "main" file #197

Open
bfriedz opened this issue Jan 31, 2017 · 0 comments
Open

Bower.json should not have minified "main" file #197

bfriedz opened this issue Jan 31, 2017 · 0 comments

Comments

@bfriedz
Copy link

bfriedz commented Jan 31, 2017

When I install the package with bower, I get this warning:

bower ng-csv#^0.3.6       invalid-meta for:/tmp/data/bower/.../bower.json
bower ng-csv#^0.3.6       invalid-meta The "main" field cannot contain minified files

Here's the warning in the source code: https://github.com/bower/bower/blob/d405917b4a6efdeeb24a2087680fd4163896ab8e/packages/bower-json/lib/json.js#L180-L182

Seems like the straightforward fix would be to have "main" point to the non-minified version.

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