Alex
11/25/2024, 11:25 AM@JsModule
)?
2. Is this how we could go about building notifications?
a. We’d likely have to include service workers in the HTML files and have build processes (hooked into gradle?), but then the main linked module would provide the bridge functions to communicate with that service worker?
3. A lot of modules these days generate TS definitions. Are there ways to generate/automate the creation of the interfaces based on these definitions?Alex
12/06/2024, 11:08 AMandylamax
02/10/2025, 2:22 PMrequire
instead of @JsModule
and it should work. I have done this before
2. Services workers also work, but they are going to have to be a different compilation. Having them in the same compilation would make their bundle size extremely large. But it is definetly doable
3. In regards to automated interfaces based on TS definitions, there once was a tool called dukat. It was buggy and was paused to make room for K2. I am not sure if they intend to come back to it or not.
I hope that answers your question. Does it?