Open KevinWMatthews opened 4 years ago
Browser support was added a while back in #26 I don't know if things have changed since then, but browserify
should use the browser
field in package.json. It looks like it's using the main
instead. Is there any configuration in browserify
to instruct on how to resolve modules?
Hi,
I'm new to node and am trying to build
cowsay
in the browser usingbrowserify
. I'm encountering this error:I've installed
browserify
to system,cowsay
locally, and am using this JavaScript:Am I making a mistake or is there something out of sorts with the package?
Thanks!