Skip to content

Commit

Permalink
Add brower stub.
Browse files Browse the repository at this point in the history
An empty object is returned for webpack builds targeting the browser.
  • Loading branch information
Neal Granger committed Jan 22, 2016
1 parent 30a1381 commit ae087b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@
"sinon": "^1.17.2",
"sinon-chai": "^2.8.0",
"watch": "^0.17.1"
}
},
"browser": "browser.js"
}
1 change: 1 addition & 0 deletions src/browser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default {};

0 comments on commit ae087b6

Please sign in to comment.