Skip to content

fix(esm): strip stylesheet imports#40581

Open
rkdfx wants to merge 1 commit intomicrosoft:mainfrom
rkdfx:fix-39187
Open

fix(esm): strip stylesheet imports#40581
rkdfx wants to merge 1 commit intomicrosoft:mainfrom
rkdfx:fix-39187

Conversation

@rkdfx
Copy link
Copy Markdown

@rkdfx rkdfx commented May 2, 2026

Summary

  • Apply css-to-identity-obj-proxy in ESM as well as CJS so stylesheet imports are stripped before Node loads them.
  • Extend regex to also cover .sass and .styl.

Fixes #39187

@rkdfx
Copy link
Copy Markdown
Author

rkdfx commented May 2, 2026

@microsoft-github-policy-service agree

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: playwright-ct: 'Support for the experimental syntax 'decorators' isn't currently enabled' in spec without tsx code

1 participant