Small optimisation to --profile dev
wasm builds
#1851
+190
−119
Merged