I tried to add dukat generation for a library, but...
# javascript
c
I tried to add dukat generation for a library, but when I build, nothing happens and the
build/externals
folder is basically empty. This is in a multiplatform project
Copy code
val jsMain by getting {
            dependencies {
                implementation(npm("fabric", "4.5.0"))
                implementation(npm("@types/fabric", "4.5.0", generateExternals = true))
            }
        }
I’ve tried with both
Copy code
plugins {
    kotlin("multiplatform") version "1.5.31"
and
Copy code
plugins {
    kotlin("multiplatform") version "1.6.0"
generateExternals
succeeds but the externals folder has nothing
Even with a clean build it prints this output:
Copy code
> Task :jsGenerateExternals UP-TO-DATE
Caching disabled for task ':jsGenerateExternals' because:
  Caching has not been enabled for the task
Skipping task ':jsGenerateExternals' as it is up-to-date.
:jsGenerateExternals (Thread[Execution worker for ':',5,main]) completed. Took 0.001 secs.
t
Do you need it for SVG building only?
c
We’re investigating using the fabric library via kotlin for mobile apps