KotlinJsOptions
Deprecated
The kotlinOptions types are deprecated, please migrate to the compilerOptions types. More details are here: https://kotl.in/u1r8ln
Compiler options for Kotlin/JS.
Properties
Report an error if there are any warnings.
Allow using declarations from only the specified version of bundled libraries.
A list of additional compiler arguments
Disable internal declaration export.
Provide source compatibility with the specified version of Kotlin.
The kind of JS module generated by the compiler. ES modules are enabled by default in case of ES2015 target usage
Base name of generated files.
Embed source files into the source map.
Mode for mapping generated names to original names.
Add the specified prefix to the paths in the source map.
Don't generate any warnings.
This option does nothing and is left for compatibility with the legacy backend. It is deprecated and will be removed in a future release.
Let generated JavaScript code use ES2015 classes. Enabled by default in case of ES2015 target usage