rss
02/07/2024, 11:39 PM@JsExport object with ES-modules
I’m in the process of trying to switch to ES-modules for a common library that is used by my Angular application.
package com.mydomain.myproj.common
@JsExport
object GlobalConstants {
const val VERSION = "0.64.0"
}
I previously accessed such transpiled code like this:
import * as myproj_top from "myproj";
import myproj_common =...