上游 · Kotlin compiler options · Native
-source-map-prefix
Add the specified prefix to paths in the source map.
-target {es5|es2015}
Generate JS files for the specified ECMA version.
-Xenable-implementing-interfaces-from-typescript
Allow implementing Kotlin interfaces exported with the @JsExport annotation from JavaScript/TypeScript.
-Xes-long-as-bigint
Enable support for the JavaScript BigInt type to represent Kotlin Long values when compiling to modern JavaScript (ES2020).
Kotlin/Native compiler options…