I'm trying to build a web extension and to access ...
# javascript
i
I'm trying to build a web extension and to access this apis I want to use a npm module with some typescript type definitions. Is this even possible? I've tried adding the library to my gradle with
npm
and
generateExternals
set to true which "exposes" this APIs and I can use them from kotlin, but then fails to build the output. I've also tried with
devNpm
but then I cannot access them.
a
Have you tried to run generateExternals task from Gradle tab?