Usage: kotlinc-js where possible options include: -libraries Paths to Kotlin libraries with .meta.js and .kjsm files, separated by system path separator -main {call|noCall} Define whether the `main` function should be called upon execution -meta-info Generate .meta.js and .kjsm files with metadata. Use to create a library -module-kind {plain|amd|commonjs|umd} Kind of the JS module generated by the compiler -no-stdlib Don't automatically include the default Kotlin/JS stdlib into compilation dependencies -output Destination *.js file for the compilation result -output-postfix Add the content of the specified file to the end of output file -output-prefix Add the content of the specified file to the beginning of output file -source-map Generate source map -source-map-base-dirs Base directories for calculating relative paths to source files in source map -source-map-embed-sources {always|never|inlining} Embed source files into source map -source-map-prefix Add the specified prefix to paths in the source map -target { v5 } Generate JS files for specific ECMA version -Werror Report an error if there are any warnings -api-version Allow using declarations only from the specified version of bundled libraries -X Print a synopsis of advanced options -help (-h) Print a synopsis of standard options -kotlin-home Path to the home directory of Kotlin compiler used for discovery of runtime libraries -language-version Provide source compatibility with the specified version of Kotlin -P plugin::= Pass an option to a plugin -progressive Enable progressive compiler mode. In this mode, deprecations and bug fixes for unstable code take effect immediately, instead of going through a graceful migration cycle. Code written in the progressive mode is backward compatible; however, code written in non-progressive mode may cause compilation errors in the progressive mode. -script Evaluate the given Kotlin script (*.kts) file -nowarn Generate no warnings -verbose Enable verbose logging output -version Display compiler version @ Read compiler arguments and file paths from the given file OK