🐛 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 09e1a05be3
commit 97330ba708

View File

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