[K/JS] Add the ability to turn off polyfills generating

This commit is contained in:
Artem Kobzar
2022-10-19 12:52:23 +00:00
committed by Space Team
parent dbf0ba442a
commit 7b9aed25da
12 changed files with 48 additions and 16 deletions
@@ -267,6 +267,12 @@ class K2JSCompilerArguments : CommonCompilerArguments() {
)
var generateDts: Boolean by FreezableVar(false)
@Argument(
value = "-Xgenerate-polyfills",
description = "Generate polyfills for features from the ES6+ standards."
)
var generatePolyfills: Boolean by FreezableVar(true)
@Argument(
value = "-Xstrict-implicit-export-types",
description = "Generate strict types for implicitly exported entities inside d.ts files. Available in IR backend only."