obs-websocket-community-projects / obs-websocket-js

Consumes https://github.com/obsproject/obs-websocket
MIT License
657 stars 95 forks source link

Non-minified JS version? #291

Closed dgatwood closed 1 year ago

dgatwood commented 1 year ago

Description:

Is there some way to get a standalone copy of the .js file that is not minified?

For background, I'm 98% through with creating a custom integration involving V8 and libwebsockets (because node.js is three orders of magnitude larger than makes sense to embed in my tool and takes over an hour to build and doesn't provide the .a files for embedding in their binary distributions and won't link correctly even when I build it myself). All the code is written, but I'm stuck trying to figure out why nothing is happening when I run your code against it. It is pretty much impossible to debug the minified JavaScript, so I'm basically blocked, and there are no instructions that I could find for how to build the minified js, or else I'd have already ripped out the minification and built it myself.

Any assistance you could give would be very helpful. Thanks.

dgatwood commented 1 year ago

Managed to get it working. But it would still be a useful thing to provide as part of the build outputs. :-)