David Smith
01/28/2023, 9:51 AMJsModule
kotlin file. I’m trying to work out how to get my top level build to depend on and include the javascript file as well as the JsModule
kotlin in this module? All I can find on the internet is how to depend on an npm library but nothing about a local javascript file 😞Adam S
01/28/2023, 10:13 AMDavid Smith
01/30/2023, 11:51 AMnpm("module-name", project.file("src/jsMain/resources/my-module")
but I had to create an npm module in src/jsMain/resources/my-module
with a package.json etc (actually I just ran npm init
)