Is Gradle task `jsBrowserDistribution` (produces ....
# compose-web
e
Is Gradle task
jsBrowserDistribution
(produces ./build/distributions/) still the way to publish a compose website? I think so, but it's not very well documented AFAI can find
Found it: https://kotlinlang.org/docs/js-react.html#package-a-production-build Use Gradle task
build
, which probably runs the task I mentioned as well as others (e.g. tests)
b
To confirm, that task and binaries.executable() is the way to go. Build is just a meta task that builds and tests everything "buildable" in a given gradle project
If you just want ALL the binaries for a project and aren't sure which task produces them, there's assemble which skips the test tasks
Hope that makes sense
e
🙏