feross/simple-peer

How can I get non-minified version of simple-peer?

stiv-yakovenko opened this issue · 3 comments

(For my debugging purposes)?

No, this is not what I need. I need unminified version of simplepeer.min.js, so I can replace it. This one is unpreprocessed, it contains require, which browser doesn't understand.

Try this one, change the build command in package.json to this:

"build": "browserify -s SimplePeer -r . > simplepeer.js"

The change removes the minify build command as well as renames the output file.