From efd341c2d96a22b6dccae60c880f53f1f4195968 Mon Sep 17 00:00:00 2001 From: Imuli Date: Sat, 11 Feb 2017 23:36:43 -0500 Subject: [PATCH] Quick fix to let browserified packages require gun. Without this browserify will complain that it can't find all pieces of gun.js, because it parses the AST for instances of 'require' and doesn't realize that require has been redefined and they are already present. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index fe37d0cf..e6cf6ad0 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "0.5.8", "description": "Graph engine", "main": "index.js", + "browser": "gun.min.js", "scripts": { "start": "node examples/http.js 8080", "prepublish": "npm run unbuild",