Adrian Witaszak
07/01/2023, 3:07 PMBig Chungus
07/01/2023, 3:20 PMAdrian Witaszak
07/01/2023, 3:22 PMBig Chungus
07/01/2023, 3:22 PMAdrian Witaszak
07/01/2023, 3:23 PMBig Chungus
07/01/2023, 3:23 PMBig Chungus
07/01/2023, 3:23 PMBig Chungus
07/01/2023, 3:25 PMAdrian Witaszak
07/01/2023, 3:25 PMBig Chungus
07/01/2023, 3:26 PMBig Chungus
07/01/2023, 3:26 PMAdrian Witaszak
07/01/2023, 3:27 PMbuild/dist/wasm/productionExecutable
? After running wasmBrowserProductionWebpack
Adrian Witaszak
07/01/2023, 3:28 PMmohamed rejeb
07/01/2023, 4:50 PMAdrian Witaszak
07/01/2023, 5:32 PMindex.html
in the productionExecutable
it only opens index, but wasm is not running. The console complains about missing:
• wasmapp.uninstantiated.mjs
• favicon.ico
The favico itself does not exist at all in the project so had to get it from different repo. The wasmapp.uninstantiated.mjs
is located in
$buildDir/compileSync/wasm/main/productionExecutable/kotlin/wasmapp.uninstantiated.mjs
So had to create tasks to copy them into the same dir after wasmBrowserProductionWebpack
is finished. May be using wasm with GH Pages for now so copying it all in the rootDir/docs
. This time app runs when i launch it from the index.html
locally 👏 Will try deployment next. 🤞Adrian Witaszak
07/01/2023, 5:34 PMwasmBrowserProductionWebpack
task could do with improving so it copies all needed files into one dir.Adrian Witaszak
07/01/2023, 5:36 PMBig Chungus
07/01/2023, 5:58 PMAdrian Witaszak
07/01/2023, 6:58 PM