We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2c0ef8 commit 7dd8e08Copy full SHA for 7dd8e08
src/compile.js
@@ -13,7 +13,7 @@ module.exports = function hzCompile(source, mod = false, standalone = false, spa
13
});
14
if (standalone) {
15
const header = fs.readFileSync(join(__dirname, "header.js"), 'utf8');
16
- output.code = header + "hzDisp.exec(function(hzUserLib){return hzUserLib.hookCoroutine(function*(){" + output.code + "});});";
+ output.code = header + "hzDisp.exec(function(hzUserLib){return hzUserLib.hookCoroutine(function*(){" + output.code + "});}, null, null, true);";
17
} else if (mod) {
18
output.code = "module.exports = function(hzUserLib){return hzUserLib.hookCoroutine(function*(){" + output.code + "});};";
19
}
0 commit comments