martmists
11/15/2021, 12:57 AMmodule.exports = MyThingHere
I've been trying to figure out how to do this with gradle and kjs but I haven't been able to generate a js file that looks even close to doing that, in most cases it actually just adds the package as attributeturansky
11/15/2021, 1:04 AMmartmists
11/15/2021, 1:17 AMturansky
11/15/2021, 1:57 AM@JsExport
val MyThingThere: ...
martmists
11/15/2021, 10:21 AMmodule.exports.MyThingThere = MyThingThere
instead of setting it as the exports object itselfBrian G
11/15/2021, 2:59 PMmartmists
11/15/2021, 5:44 PMturansky
11/15/2021, 5:53 PMmartmists
11/15/2021, 5:58 PMturansky
11/15/2021, 6:04 PMbinaries.executable()
for webpack activation 🙂turansky
11/15/2021, 6:04 PMmartmists
11/15/2021, 7:05 PMmartmists
11/15/2021, 7:07 PM__webpack_require__(Object(function webpackMissingModule() { var e = new Error("Cannot find module 'module/path/here'"); e.code = 'MODULE_NOT_FOUND'; throw e; }()))
to be precise