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 has wrong reference to main file #725

Closed
pgrm opened this issue Jul 22, 2015 · 3 comments
Closed

bower.json has wrong reference to main file #725

pgrm opened this issue Jul 22, 2015 · 3 comments

Comments

@pgrm
Copy link

pgrm commented Jul 22, 2015

bower.json references masonry.js as it's main file, however it should be dist/masonry.pkgd.js

@desandro
Copy link
Owner

In bower/spec#43 we resolved that main is for entry files, not for distribution files.

The Bower team is resolving the Wiredep use case in bower/spec#47.

Until then you can resolve this by including an override in your wiredep config

  "overrides": {
    "outlayer": {
      "main": [
        "item.js",
        "outlayer.js"
      ]
    }
  }

@pgrm
Copy link
Author

pgrm commented Jul 22, 2015

Thx for the update

@ghost
Copy link

ghost commented Aug 13, 2017

This doesn't work

TypeError: t.create is not a function. (In 't.create("masonry")', 't.create' is undefined)

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