krux / postscribe

Asynchronously write javascript, even with document.write.
MIT License
986 stars 156 forks source link

Using of Ecma 2015 export/import throws error #477

Open shacharsol opened 6 years ago

shacharsol commented 6 years ago

i'm trying to use postscrib in an sdk i'm creating , it works very good, but when i try to add export class or import statements it fails, i overcome this by using other way of export, but i'm loosing all the power of class in ecma 2015, is there away to over come this? This the error i get: Uncaught SyntaxError: Unexpected token export the trace: Uncaught Error: Script error. - : 0 at Object.error (cro:170) at active.win.onerror (cro:244)

kirkbushell commented 3 years ago

It's really hard to help with no code provided.