Dirk Hoffmann
04/29/2023, 11:27 PMOleksandr Karpovich [JB]
05/02/2023, 9:42 AMwasmBrowserProductionWebpack
would create a production distribution in …/webApp/build/dist/wasm/productionExecutable
Unfortunately, there is still a bug that productionExecutable misses one of the files. It can be added manually from: …/webApp/build/compileSync/wasm/main/productionExecutable/kotlin/imageviewer.uninstantiated.mjs
Then this distribution (productionExecutable
) can be uploaded to the cloud (some hosting) to make it publicly available. For example, https://pages.github.com/
Or to run on localhost: python -m http.server
in the productionExecutable directory. Then the app should be available at localhost:8000 (the port can be different)