arrow-meta icon indicating copy to clipboard operation
arrow-meta copied to clipboard

Support for the Javascript target?

Open eiswind opened this issue 5 years ago • 1 comments

Is your feature request related to a problem? Please describe. I try (and fail desperately) to create arrow meta plugin for the JS target.

Describe the solution you'd like I' like to see a working example for the JS target?

Describe alternatives you've considered I d have to write a very low level plugin.

eiswind avatar Aug 19 '20 04:08 eiswind

I tried the following setup with dem hello world example:

tasks.withType<Kotlin2JsCompile>().configureEach {
    kotlinOptions.freeCompilerArgs =
            listOf("-Xplugin=${project.rootDir}/create-plugin/build/libs/create-plugin-all.jar")
}

The Plugin seems to get activated, but the code is not beeing transformed.

Could someone please confirm that js target does not work at all?

eiswind avatar Aug 19 '20 09:08 eiswind