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

"main" is now incorrect in bower.json #91

Closed
chaddjohnson opened this issue Aug 21, 2015 · 1 comment
Closed

"main" is now incorrect in bower.json #91

chaddjohnson opened this issue Aug 21, 2015 · 1 comment

Comments

@chaddjohnson
Copy link

Recent changes to bower.json have resulted in "main" having an incorrect dependency list. It now reads:

"main": "lib/zxcvbn.js",

when instead it should read:

"main": "./dist/zxcvbn.js"

The recent change breaks app that use wiredep for automatically bringing dependencies into web apps, as "lib/zxcvbn.js" no longer exists (I ran bower install zxcvbn, and I only see a "dist" folder inside bower_components/zxcvbn).

For anyone affected by this change, a workaround is to add the following to your app's bower.json file:

  "overrides": {
    "zxcvbn": {
      "main": "./dist/zxcvbn.js"
    }
  }
@lowe lowe closed this as completed in ca089e9 Aug 23, 2015
@lowe
Copy link
Collaborator

lowe commented Aug 23, 2015

thanks for reporting!

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

2 participants