Skip to content

fix(test runner): do not use @babel/plugin-transform-dynamic-import#31285

Merged
dgozman merged 1 commit intomicrosoft:mainfrom
dgozman:fix-remove-babel-plugin-dynamic-import
Jun 13, 2024
Merged

fix(test runner): do not use @babel/plugin-transform-dynamic-import#31285
dgozman merged 1 commit intomicrosoft:mainfrom
dgozman:fix-remove-babel-plugin-dynamic-import

Conversation

@dgozman
Copy link
Copy Markdown
Collaborator

@dgozman dgozman commented Jun 13, 2024

Historically, this plugin was important to translate dynamic imports into require calls so that we can intercept them and transpile.

This is not needed anymore with ESM loader enabled by default, so we can avoid this transformation and support dynamic imports of ESM-only packages/files.

Fixes #17075, fixes #23255, fixes #31140, references #23662.

Historically, this plugin was important to translate dynamic imports
into require calls so that we can intercept them and transpile.

This is not needed anymore with ESM loader enabled by default, so
we can avoid this transformation and support dynamic imports of
ESM-only packages/files.
@github-actions
Copy link
Copy Markdown
Contributor

Test results for "tests 1"

5 flaky ⚠️ [chromium-library] › library/trace-viewer.spec.ts:241:1 › should have network requests
⚠️ [playwright-test] › ui-mode-test-screencast.spec.ts:21:5 › should show screenshots
⚠️ [chromium] › components/splitView.spec.tsx:65:5 › drag resize
⚠️ [webkit-library] › library/browsercontext-clearcookies.spec.ts:146:3 › should remove cookies by name and domain
⚠️ [webkit-page] › page/workers.spec.ts:243:3 › should support offline

28323 passed, 637 skipped
✔️✔️✔️

Merge workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants