🐛 Fix render-wasm wrapper skipping compilation and copying

./build and pnpm run build:wasm produced no artifacts, dropped extra
Cargo arguments, and watch compiled outside the lock without copying.

Build now runs cargo build and copy_target_artifacts under the
existing lock. Cargo arguments survive as an array, and watch re-entry
no longer duplicates profile flags.
Destinations accept environment overrides so callers can stage
artifacts outside the public paths.

AI-assisted-by: deepseek-flash
This commit is contained in:
Miguel de Benito Delgado 2026-10-08 07:21:26 +02:00
parent 3100ae2aee
commit f073b901b4

View File

@ -41,4 +41,7 @@ setup
build
copy_target_artifacts
build
copy_target_artifacts
popd > /dev/null