Skip to content

Move imageUtils.ts to utils/isomorphic#39497

Merged
pavelfeldman merged 3 commits intomainfrom
copilot/move-image-utils-file
Mar 3, 2026
Merged

Move imageUtils.ts to utils/isomorphic#39497
pavelfeldman merged 3 commits intomainfrom
copilot/move-image-utils-file

Conversation

Copy link
Contributor

Copilot AI commented Mar 3, 2026

Relocate imageUtils.ts from server/utils/ to utils/isomorphic/ so it's available to both client and server layers per the project's dependency rules.

  • Move packages/playwright-core/src/server/utils/imageUtils.tspackages/playwright-core/src/utils/isomorphic/imageUtils.ts
  • Update imports in comparators.ts and mcp/browser/tools/screenshot.ts to reference new path
  • Fix re-export in utils.ts to use new path and maintain alphabetical sort order within the isomorphic section

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: pavelfeldman <883973+pavelfeldman@users.noreply.github.com>
Copilot AI changed the title [WIP] Move imageUtils file to isomorphic utilities folder Move imageUtils.ts from server/utils to utils/isomorphic Mar 3, 2026
Co-authored-by: pavelfeldman <883973+pavelfeldman@users.noreply.github.com>
Copilot AI changed the title Move imageUtils.ts from server/utils to utils/isomorphic Move imageUtils.ts to utils/isomorphic Mar 3, 2026
@pavelfeldman pavelfeldman marked this pull request as ready for review March 3, 2026 19:44
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.

3 participants