mapbox/wellknown

brfs transform in package.json causing browserify error

chadwilcomb opened this issue · 3 comments

Caveat: I am in the process of learning and setting up my first app using npm, grunt, browserify so this could be a noob issue:

Upon installing the wellknown module from npm, and requiring into my browserify project, I get an error when running Grunt that grunt-browserify cannot find the brfs module. Since your package.json specifies the brfs transform in the browserify options, I beleive either brfs should be in dependencies (rather than devDependencies) section of your package.json, or the browserify settings/transform should be removed. As a workaround, I simply installed brfs to my project and I no longer get the error.

tmcw commented

brfs is only used for tests: i'll remove it from the browserify transform in the package and include it manually in the browserify call

tmcw commented

Fixed in cd08ac1