Gradle build compileKotlin2Js kotlinOptions

In the Gradle compileKotlin2Js build I am missing the output-prefix and output-postfix options in kotlinOptions that are supported by the command line compiler! Is there a workaround?

You can actually use freeCompilerArgs to specify any arguments you want: See the kotlin gradle documentation.

1 Like