Nicolas Frenay
04/30/2025, 1:38 PM@JSModule
and @JSNonModule
on the css file to load it from Kotlin code, but JSNonModule is not available on WASM target.
Right now my workaround is loading the CSS manually on HTML from a CDN, but I'd rather have everything packed. I already enabled CSS on build.gradle.
Thanks!Robert Jaros
04/30/2025, 1:42 PMuseEsModules()
- @JsModule
should work.Robert Jaros
04/30/2025, 1:43 PMNicolas Frenay
04/30/2025, 1:50 PMNicolas Frenay
04/30/2025, 1:50 PM