Interface KotlinJsCompilerOptions

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Property<Boolean> getFriendModulesDisabled() Disable internal declaration export Default value: false
      abstract Property<JsMainFunctionExecutionMode> getMain() Define whether the main function should be called upon execution Possible values: "call", "noCall" Default value: JsMainFunctionExecutionMode.
      abstract Property<Boolean> getMetaInfo() Generate .meta.js and .kjsm files with metadata.
      abstract Property<JsModuleKind> getModuleKind() Kind of the JS module generated by the compiler Possible values: "plain", "amd", "commonjs", "umd" Default value: JsModuleKind.
      abstract Property<String> getModuleName() Base name of generated files Default value: null
      abstract Property<Boolean> getNoStdlib() Don't automatically include the default Kotlin/JS stdlib into compilation dependencies Default value: true
      abstract Property<String> getOutputFile() Destination *.
      abstract Property<Boolean> getSourceMap() Generate source map Default value: false
      abstract Property<JsSourceMapEmbedMode> getSourceMapEmbedSources() Embed source files into source map Possible values: "never", "always", "inlining" Default value: null
      abstract Property<JsSourceMapNamesPolicy> getSourceMapNamesPolicy() How to map generated names to original names (IR backend only) Possible values: "no", "simple-names", "fully-qualified-names" Default value: null
      abstract Property<String> getSourceMapPrefix() Add the specified prefix to paths in the source map Default value: null
      abstract Property<String> getTarget() Generate JS files for specific ECMA version Possible values: "v5" Default value: "v5"
      abstract Property<Boolean> getTypedArrays() Translate primitive arrays to JS typed arrays Default value: true
      abstract Property<Boolean> getUseEsClasses() Generated JavaScript will use ES2015 classes.
      • Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompilerOptions

        getApiVersion, getLanguageVersion, getOptIn, getProgressiveMode, getUseK2
      • Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompilerToolOptions

        getAllWarningsAsErrors, getFreeCompilerArgs, getSuppressWarnings, getVerbose
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait