Total newbie (to JS ecosystem) question here. I've made a standard KotlinJS project in Intellij and chose nodejs as the target. Just a hello-world. The
gradle run
works as expected. Is there a way to run it with npm from the command line?
b
Big Chungus
03/31/2020, 7:15 AM
You need to build it with gradle, which generates package.JSON and output js
Big Chungus
03/31/2020, 7:15 AM
From there you can serve it with node/npm/yarn if you want