How can I get non-minified version of simple-peer?
stiv-yakovenko opened this issue · 3 comments
stiv-yakovenko commented
(For my debugging purposes)?
stiv-yakovenko commented
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.
jzombie commented
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.