Skip to content

Server code not getting transpiled #16

@christowiz

Description

@christowiz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions