Skip to content

Commit

Permalink
[fix] Change entry point for process
Browse files Browse the repository at this point in the history
Use the browser entry point instead of the entry point for Node.js

Closes alexgorbatchev#50
  • Loading branch information
andersekdahl committed Mar 7, 2015
1 parent 7763741 commit fa17041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
"module": localModule('module'),
"net": localModule('net'),
"path": require.resolve('path-browserify/'),
"process": require.resolve('process/'),
"process": path.resolve(require.resolve('process/'), '..', 'browser.js'),
"punycode": path.resolve('punycode/'),
"querystring": localModule('querystring'),
"readline": localModule('readline'),
Expand Down

0 comments on commit fa17041

Please sign in to comment.