Skip to content

Commit e673405

Browse files
committed
Add a "main" to package.json
Browserify can bundle things installed through npm. But it needs a “main” like the one in bower to find the file.
1 parent 88b88aa commit e673405

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blueimp-canvas-to-blob",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"title": "JavaScript Canvas to Blob",
55
"description": "JavaScript Canvas to Blob is a function to convert canvas elements into Blob objects.",
66
"keywords": [

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blueimp-canvas-to-blob",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"title": "JavaScript Canvas to Blob",
55
"description": "JavaScript Canvas to Blob is a function to convert canvas elements into Blob objects.",
66
"keywords": [
@@ -32,6 +32,7 @@
3232
"url": "http://www.opensource.org/licenses/MIT"
3333
}
3434
],
35+
"main": "./js/canvas-to-blob.js",
3536
"devDependencies": {
3637
"grunt": "~0.4.1",
3738
"grunt-contrib-uglify": "~0.2.7",

0 commit comments

Comments
 (0)