Skip to content

Don't send user vite parsing errors to observe#3653

Draft
lucyxiang wants to merge 1 commit intomainfrom
04-01-rethrowasusererror_for_knows_user_code_errors
Draft

Don't send user vite parsing errors to observe#3653
lucyxiang wants to merge 1 commit intomainfrom
04-01-rethrowasusererror_for_knows_user_code_errors

Conversation

@lucyxiang
Copy link
Copy Markdown
Contributor

@lucyxiang lucyxiang commented Apr 1, 2026

WHY are these changes introduced?

Don't send user Vite parse error to observe (caused by invalid syntax or wrong file extension in a specific merchant project)

Fixes https://vault.shopify.io/teams/13725-Developer-Platforms/issues/22640-error-31m-vite-build-import-analysis-plugin-vite-build-import-analysis-app-lib-admin-auth-js-62-3-failed-to-parse-source-for-import-analysis-because-the-content-contains-invalid-js-syntax-if-you-are-using-jsx-make-sure-to-name-the-file

WHAT is this pull request doing?

HOW to test your changes?

Post-merge steps

Checklist

  • I've read the Contributing Guidelines
  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've added a changeset if this PR contains user-facing or noteworthy changes
  • I've added tests to cover my changes
  • I've added or updated the documentation

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@shopify
Copy link
Copy Markdown
Contributor

shopify bot commented Apr 1, 2026

Oxygen deployed a preview of your 04-01-rethrowasusererror_for_knows_user_code_errors branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment April 1, 2026 6:24 PM

Learn more about Hydrogen's GitHub integration.

@lucyxiang lucyxiang force-pushed the 04-01-rethrowasusererror_for_knows_user_code_errors branch from 713995b to a109836 Compare April 1, 2026 15:54
@lucyxiang lucyxiang changed the title Generate routes for core functionality Don't send user vite parsing errors to observe Apr 1, 2026
@lucyxiang lucyxiang force-pushed the 04-01-rethrowasusererror_for_knows_user_code_errors branch from a109836 to 79b6d1c Compare April 1, 2026 18:23
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.

1 participant