Is there a proper way to compile Snap! games into an HTML Embed?

Not a embed of the editor, but an actual JS compiled version of it to run on my webpage.

Apologies if this is a duplicate.

Unfortunately, the only way is to use the embed you can get on the project page. No compiling to js.