The HTML that is served from the server contains Promises and arrow functions as text template when running a build. This doesn't gets skipped during the TVKit build process and throws an error on ES5 devices. I see that import() is changed to System.import() when passing the --add es-module.
It tried adding --add es-module,arrow-functions which was logged during the beginning of the build but didn't transpile the string template code.

HTML source:

Built code from TVKit

The HTML that is served from the server contains Promises and arrow functions as text template when running a build. This doesn't gets skipped during the TVKit build process and throws an error on ES5 devices. I see that
import()is changed toSystem.import()when passing the--add es-module.It tried adding

--add es-module,arrow-functionswhich was logged during the beginning of the build but didn't transpile the string template code.HTML source:

Built code from TVKit
