You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`main`| Define whether the `main` function should be called upon execution | "call", "noCall". Also, see [Types for compiler options](#types-for-compiler-options)| "call" |
371
-
|`metaInfo`| Generate .meta.js and .kjsm files with metadata. Use to create a library || true |
372
-
|`moduleKind`| The kind of JS module generated by the compiler | "umd", "commonjs", "amd", "plain", "es". Also, see [Types for compiler options](#types-for-compiler-options)| "umd" |
373
-
|`sourceMap`| Generate source map || true |
374
-
|`sourceMapEmbedSources`| Embed source files into the source map | "never", "always", "inlining". Also, see [Types for compiler options](#types-for-compiler-options)||
375
-
|`sourceMapNamesPolicy`| Add variable and function names that you declared in Kotlin code into the source map. For more information on the behavior, see our [compiler reference](compiler-reference.md#source-map-names-policy-simple-names-fully-qualified-names-no). | "simple-names", "fully-qualified-names", "no". Also, see [Types for compiler options](#types-for-compiler-options)| "simple-names" |
376
-
|`sourceMapPrefix`| Add the specified prefix to paths in the source map |||
377
-
|`target`| Generate JS files for specific ECMA version | "v5" | "v5" |
|`main`| Specify whether the `main` function should be called upon execution |`JsMainFunctionExecutionMode.CALL`, `JsMainFunctionExecutionMode.NO_CALL`|`JsMainFunctionExecutionMode.CALL`|
371
+
|`moduleKind`| The kind of JS module generated by the compiler |`JsModuleKind.MODULE_AMD`, `JsModuleKind.MODULE_PLAIN`, `JsModuleKind.MODULE_ES`, `JsModuleKind.MODULE_COMMONJS`, `JsModuleKind.MODULE_UMD`|`null`|
372
+
|`sourceMap`| Generate source map ||`false`|
373
+
|`sourceMapEmbedSources`| Embed source files into the source map |`JsSourceMapEmbedMode.SOURCE_MAP_SOURCE_CONTENT_INLINING`, `JsSourceMapEmbedMode.SOURCE_MAP_SOURCE_CONTENT_NEVER`, `JsSourceMapEmbedMode.SOURCE_MAP_SOURCE_CONTENT_ALWAYS`|`null`|
374
+
|`sourceMapNamesPolicy`| Add variable and function names that you declared in Kotlin code into the source map. For more information on the behavior, see our [compiler reference](compiler-reference.md#source-map-names-policy-simple-names-fully-qualified-names-no)|`JsSourceMapNamesPolicy.SOURCE_MAP_NAMES_POLICY_FQ_NAMES`, `JsSourceMapNamesPolicy.SOURCE_MAP_NAMES_POLICY_SIMPLE_NAMES`, `JsSourceMapNamesPolicy.SOURCE_MAP_NAMES_POLICY_NO`|`null`|
375
+
|`sourceMapPrefix`| Add the specified prefix to paths in the source map ||`null`|
376
+
|`target`| Generate JS files for specific ECMA version |`"es5"`, `"es2015"`|`"es5"`|
377
+
|`useEsClasses`| Let generated JavaScript code use ES2015 classes. Enabled by default in case of ES2015 target usage ||`null`|
0 commit comments