If you want to use Browserify with this, it will need to know which JavaScript file to load. Firstly Browserify will check the "main" field (like node.js) else the convention is index.js. Anyway, this PR fixes loading this module via Browserify and probably webpack as well (although I haven't tested that). This is the error I received and which is fixed:
If you want to use Browserify with this, it will need to know which JavaScript file to load. Firstly Browserify will check the "main" field (like node.js) else the convention is index.js. Anyway, this PR fixes loading this module via Browserify and probably webpack as well (although I haven't tested that). This is the error I received and which is fixed: