Org.jetbrains.kotlin.js deploy and minify

Hi,
I see you are starting to update the docs for the new org.jetbrains.kotlin.js plugin,
but when migrating from the old kotlin2js is still not clear to me how to deploy in production an app.

When using create-kotlin-react-app you simply “npm run build” and you get an already minified version of the frontend app, but how does this work from Gradle? How does that work with dce?

From what I see from the source code it should still be using webpack, but where do I get the final “packed” version? How do I minify the end-result and how do I include the dependencies?

As of right now, I can specify in the compile options an “outputFile” path, but that still requires that I move the node_module folder in prod.

Is there an example?