Skip to content
Browse files
As it turns out, we won't need the 'main' entry in package.json
  • Loading branch information
rwaldron committed Jun 26, 2012
1 parent cde4c32 commit 3c86547a3b841807c4744af0fa4ee3894cc17a33
Showing 1 changed file with 0 additions and 1 deletion.
@@ -1,7 +1,6 @@
"name": "jquery",
"title": "jQuery",
"main": "./dist/jquery.js",
"description": "New Wave JavaScript",
"version": "1.8.0pre",
"homepage": "",

1 comment on commit 3c86547

Copy link

Choose a reason for hiding this comment

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

afaik it is needed for it to be a proper npm module (otherwise require() doesn't know what file to use as entry point). However jQuery wasn't working as such a module anyway (out of the box) because 'grunt' has to be run first.

This was fixed in 286c4d9. But because of another issue it was backed out in d5658e9. That revert forgot to remove this property as well.

Please sign in to comment.