Hello! I'm trying to use stopify to compile node programs, but the examples given in the docs all seem to be for executing code in the browser. As a first example, I had the program:
I tried compiling it using node_modules/.bin/stopify in.js out.js --require-runtime, but running node out.js doesn't do anything. I tried, in a separate module, loading stopify and using it to execute the compiled script, but it seems like the API expects an uncompiled program to be passed in.
Is what I'm trying to do possible? If so, any help you could give in getting the example above to work, and also any advice on how to compile node applications that have multiple modules, would be much appreciated.