Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Problem requiring npm packages that themselves require npm packages #14
First of all, thanks for Browserify - I love it!
I've recently been turning my attention to web workers and I've experienced some teething problems using webworkify. The example has you requiring gamma and using it successfully. However, I've had problems with module resolution when I try and require / import protobufjs.
The workaround seems to be switching from
I note that the
It looks like there might be an issue with webworkify being used to require packages that themselves require other packages.
pushed a commit
Feb 19, 2016
Hey, do you think this issue is still relevant? I haven't been able to reproduce this, and webworkify works fine with a very complicated dependency tree in projects like https://github.com/mapbox/mapbox-gl-js. Please let me know if there's still a problem and I'll reopen — this could be a browserify bug that got fixed.