fix exporting

This commit is contained in:
Rich Harris
2018-02-16 14:25:53 -05:00
parent f9828f9fd2
commit b02183af53
9 changed files with 102 additions and 130 deletions

View File

@@ -60,6 +60,7 @@ function run(env) {
let handler;
proc.on('message', message => {
if (message.__sapper__) return;
if (handler) handler(message);
});