sdeleuze
02/09/2025, 2:23 PM.wasm
file referenced in build/dist/wasmJs/productionExecutable/client.js
changed from a predictable kowasm-samples-fullstack-sample-client-wasm-js.wasm
file to something like fe1cfb79fdc95318bb10.wasm
.
Is there a Gradle configuration that allows to bring back a predictable filename?sdeleuze
02/16/2025, 12:04 PM2.1.10
to 2.1.20-Beta2
, the size of client.js
grows from 7K to 291K!, see this related warning:
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (291 KiB)
client.js
Any chance you could restore a more accurate JS code removal (my app is pretty small)?Svyatoslav Kuzmich [JB]
02/17/2025, 8:07 AMbashor
02/17/2025, 12:25 PMIlya Goncharov [JB]
02/17/2025, 12:29 PMWhen targeting the browser, it looks like the filename of the generatedWhile using webpack, it processes main js file, and processes wasm file with changing of its name. It is done for browser caching (no overlaps of name when sources are changed). This output name can be changed via webpack configuration. Why is it important for you how wasm file is called? We have JS file and it loads all necessary wasm file. If you want to run specifically wasm file, maybe you don’t need webpack at all?file referenced in.wasm
changed from a predictablebuild/dist/wasmJs/productionExecutable/client.js
file to something likekowasm-samples-fullstack-sample-client-wasm-js.wasm
fe1cfb79fdc95318bb10.wasm
sdeleuze
02/17/2025, 6:53 PM2.1.20-Beta2
regression.
> Task :samples:fullstack-sample:client:wasmJsBrowserProductionWebpack
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
client.js (291 KiB)
sdeleuze
02/17/2025, 7:00 PMIlya Goncharov [JB]
02/18/2025, 1:25 PMsdeleuze
02/18/2025, 2:05 PMbashor
02/18/2025, 6:52 PMsdeleuze
02/18/2025, 8:16 PMbashor
02/20/2025, 5:36 PM2.1.20-RC
sdeleuze
02/20/2025, 5:43 PMsdeleuze
02/20/2025, 5:43 PMIlya Goncharov [JB]
02/20/2025, 5:44 PM