Leandro Borges Ferreira
05/04/2024, 12:22 PM./gradlew sBrowserProductionWebpack
, how do I run it in my machine? So far I can put the file in github pages and it runs just fine, but how to run it in my machine?
I understand that I can use the command jsBrowserProductionRun
, but I would like to do it without gradle.jNayden
05/04/2024, 2:44 PMLeandro Borges Ferreira
05/04/2024, 3:48 PMnpm
command? Do I need a server? Do I run it with node?David Herman
05/04/2024, 9:01 PMLeandro Borges Ferreira
05/06/2024, 8:13 AMOleksandr Karpovich [JB]
05/06/2024, 9:10 AMcd path/to/distribution
// usually it's build/dist/js/productionExecutable
then run
python -m http.server
then open: localhost:8000 in your browser
Prefer using jsBrowserDistribution
task
or wasmJsBrowserDistribution
when targeting k/wasm