Closed mnpenner closed 8 years ago
I'm happy to have a look, but can you send me a short snippet or gist which re-creates the error?
I was talking to some of the Babel folk. There's actually a ticket open to do with transform-runtime
. I think it runs process.exit()
or something which causes some of those imports/exports to not be fully processed and it's causing some bugs in various transformers. I don't have the ticket number handy unfortunately, but I suspect the problem is there. kneden has a similar problem.
I don't have a snippet. I gave up on async
and just rewrote my code to not use it. I was trying to get it to work in IE8 but regenerator wasn't working, so I thought I'd try this and then kneden. Too much time sunk, bailed out. Sorry :-) If I give it another whirl I'll make you a snippet.
No problem - good luck. FYI, we've had success with IE8 using nodent alone, so the code it generates works in IE8. https://github.com/MatAtBread/nodent
Sorry for being vague, but I think there is something funny going on with this plugin.
When I use these plugins,
My project compiles fine, but when I try with:
I get a bunch of errors like this:
I'm not even sure what the syntax error is. Those empty
export {};
s weren't in my code, but I don't think they're a syntax error. Andasync
isn't even used in this file. So I really have no idea what's going on, but I'm pretty sure it has something to do withfast-async
.