KotlinJsOptions

Deprecated (with error)

Please migrate to the compilerOptions DSL. More details are here: https://kotl.in/u1r8ln

Compiler options for Kotlin/JS.

Properties

Link copied to clipboard
open var friendModulesDisabled: Boolean

Disable internal declaration export.

Link copied to clipboard
open var main: String

Specify whether the 'main' function should be called upon execution.

Link copied to clipboard
open var moduleKind: String?

The kind of JS module generated by the compiler. ES modules are enabled by default in case of ES2015 target usage

Link copied to clipboard
open var moduleName: String?

Base name of generated files.

Link copied to clipboard
open var sourceMap: Boolean

Generate a source map.

Link copied to clipboard
open var sourceMapEmbedSources: String?

Embed source files into the source map.

Link copied to clipboard
open var sourceMapNamesPolicy: String?

Mode for mapping generated names to original names.

Link copied to clipboard
open var sourceMapPrefix: String?

Add the specified prefix to the paths in the source map.

Link copied to clipboard
open var target: String

Generate JS files for the specified ECMA version.

Link copied to clipboard
open var useEsClasses: Boolean?

Let generated JavaScript code use ES2015 classes. Enabled by default in case of ES2015 target usage