https://github.com/nwjs/nw.js/wiki/Protect-JavaScript-source-code-with-v8-snapshot 使用nwjc工具,可以将js源码包装起来,发布到客户时,不会暴露。挺好。