KT-3008 Change the way how modules are referenced in JS
This commit is contained in:
+4
@@ -48,6 +48,10 @@ public class K2JSCompilerArguments extends CommonCompilerArguments {
|
||||
@ValueDescription("<version>")
|
||||
public String target;
|
||||
|
||||
@Argument(value = "module-kind", description = "Kind of a module generated by compiler. Supported values are: plain (by default), " +
|
||||
"amd, commonjs.")
|
||||
public String moduleKind;
|
||||
|
||||
@Nullable
|
||||
@Argument(value = "main", description = "Whether a main function should be called; default '" + CALL + "' (main function will be auto detected)")
|
||||
@ValueDescription("{" + CALL + "," + NO_CALL + "}")
|
||||
|
||||
Reference in New Issue
Block a user