Repository navigation
feat(test-runner): experimental esbuild transpilation - #43177
Pavel Feldman (pavelfeldman) wants to merge 3 commits into
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
e91a73a to
23aaba7
Compare
This comment has been minimized.
This comment has been minimized.
|
Hi, I'm the Playwright bot and I took a first look at the CI failure. 🟢 The failure is a pre-existing flakeThe only real failure has occurred on unrelated PRs on the same macOS/Node 22 bot. This PR is clear. DetailsOverall: this PR adds an opt-in esbuild transform. The failing job did not set Pre-existing flake / infra
Triaged by the Playwright bot - agent run |
This comment has been minimized.
This comment has been minimized.
|
Hi, I'm the Playwright bot and I took a first look at the current CI failure. 🟢 The failure is a pre-existing flakeThe same test has failed with the same error on an unrelated PR and has also failed on DetailsOverall: this PR adds an opt-in esbuild transform. The MCP workflow does not set Pre-existing flake / infra
Triaged by the Playwright bot - agent run |
Opt in with PLAYWRIGHT_EXPERIMENTAL_ESBUILD=1. Requires esbuild to be installed by the user, declared as an optional peer dependency.
23aaba7 to
e2a6508
Compare
Test results for "tests 1"6 flaky53368 passed, 1267 skipped Merge workflow run. |
Test results for "MCP"9165 passed, 1495 skipped Merge workflow run. |
Summary
PLAYWRIGHT_EXPERIMENTAL_ESBUILD=1transpiles TS/JS with esbuild instead of Babel; the loader, tsconfig resolution and compilation cache are unchanged.>=0.21.5) that users install themselves.useDefineForClassFieldsthe same way as Babel..cssimports are not stripped,assertimport attributes are unsupported in ESM,PW_TEST_SOURCE_TRANSFORMis ignored.esbuild
real 0m4.392s
real 0m4.349s
babel
real 0m10.349s
real 0m10.255s
hot
real 0m2.637s