browserTargetNames

abstract val browserTargetNames: ListProperty<String>

Exact Kotlin/JS target names that run in a browser.

The default is an empty list. At least one name is required when generateIoWorker is true. KiteSSOT does not guess whether a target is a browser or Node.js target.

For the normal js { browser() } target:

browserTargetNames.add("js")

Use the declared name for a custom target. For example, js("web") uses "web". Every listed name must resolve to a Kotlin/JS target.