Skip to content
Browse files

do something sensible in browserify

  • Loading branch information...
1 parent 7dda0cf commit 6f4cd88f5e6e21bf264531fe9d86e675a390b276 @dominictarr committed
Showing with 8 additions and 0 deletions.
  1. +7 −0 browser.js
  2. +1 −0 package.json
View
7 browser.js
@@ -0,0 +1,7 @@
+
+// when this is loaded into the browser,
+// just use the defaults...
+
+module.exports = function (name, defaults) {
+ return defaults
+}
View
1 package.json
@@ -3,6 +3,7 @@
"version": "0.0.5",
"description": "hardwired configuration loader",
"main": "index.js",
+ "browserify": "browser.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},

0 comments on commit 6f4cd88

Please sign in to comment.
Something went wrong with that request. Please try again.