Closed christowiz closed 8 months ago
Some javascript is generated at runtime by adapter-node, I've updated the patches for SvelteKit v2.
@bfanger Awesome! Thanks for quick response. There are other issues with the output though to be ES5 supported. Here is the current output still missing a couple items
These should be fixed in 0.16.1
Thanks for reporting the issue.
These should be fixed in 0.16.1
Thanks for reporting the issue.
@bfanger Thanks for the fixes and the great project.
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-functions
which was logged during the beginning of the build but didn't transpile the string template code.HTML source:
Built code from TVKit