Skip to content

Commit

Permalink
Merge pull request #273 from YannBertrand/patch-1
Browse files Browse the repository at this point in the history
Add the main key so it can be required with Browserify
  • Loading branch information
Alexander Farkas committed May 30, 2016
2 parents 97b1ab6 + 7671ecd commit 7a9ebee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"url": "git://github.com/aFarkas/lazysizes.git"
},
"namespace": "lazySizes",
"main": "lazysizes.js",
"browser": "lazysizes.js",
"devDependencies": {
"grunt": "~0.4.2",
Expand Down

1 comment on commit 7a9ebee

@michaelpumo
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have noticed that the package.json file from NPM does not have this - any ideas why? As a temporary measure I add this myself, but it's not ideal!

Is the NPM version out of sync with this repo?

Thanks!

Please sign in to comment.