simple-peer
simple-peer copied to clipboard
How can I get non-minified version of simple-peer?
(For my debugging purposes)?
https://github.com/feross/simple-peer/blob/master/index.js
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.