next.js
7577fa3c - Fix Turbopack worker chunk loading with asset prefix (#96636)

Commit
13 days ago
Fix Turbopack worker chunk loading with asset prefix (#96636) ## Summary - propagate the effective worker asset prefix through the worker bootstrap so runtime chunk registration and loading use the same base path - verify workers execute with both explicit and empty `turbopackWorkerAssetPrefix` overrides - add coverage for the Resvg WASM worker reproduction Fixes #96613 ## Verification - `NEXT_TEST_PREFER_OFFLINE=1 pnpm test-start-turbo test/e2e/turbopack-worker-asset-prefix/turbopack-worker-asset-prefix.test.ts` - `NEXT_TEST_PREFER_OFFLINE=1 pnpm test-dev-turbo test/e2e/turbopack-worker-asset-prefix/turbopack-worker-asset-prefix.test.ts` - Resvg WASM worker test in production and development Turbopack - focused `turbopack-tests` worker and ignore-comments snapshots - `pnpm swc-build-native` - Full `pnpm build-all` did not complete locally because of unrelated existing `httpxy` and proxy-request type errors <!-- NEXT_JS_LLM --> --------- Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
Author
Parents
Loading