Unexpected token import

Hello,

I’m developing an application and I’m running into a problem.
To take a simple example, if I open this page in the TV’s web browser, there’s no problem and it displays without any issues:

[type or paste code here](https://emb.fouita.com/widget/0x245d0b/ftw19gxxb)

However, if I try to open this same page in my application, it doesn’t work and I get the error message “Unexpected token import”.

I don’t understand why what works in the TV’s browser doesn’t work in the application.

Thank you for your help.

webOS TV uses different web engines depending on the webOS version. Please check compatibility with the web engine. Thank you.