Skip to content

Commit 6f4cd88

Browse files
committed
do something sensible in browserify
1 parent 7dda0cf commit 6f4cd88

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

browser.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
// when this is loaded into the browser,
3+
// just use the defaults...
4+
5+
module.exports = function (name, defaults) {
6+
return defaults
7+
}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.0.5",
44
"description": "hardwired configuration loader",
55
"main": "index.js",
6+
"browserify": "browser.js",
67
"scripts": {
78
"test": "echo \"Error: no test specified\" && exit 1"
89
},

0 commit comments

Comments
 (0)