diff --git a/.changeset/cool-cups-greet.md b/.changeset/cool-cups-greet.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/cool-cups-greet.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/core/e2e/utils.ts b/packages/core/e2e/utils.ts index c50dda6dbe..9e06b943ec 100644 --- a/packages/core/e2e/utils.ts +++ b/packages/core/e2e/utils.ts @@ -56,12 +56,9 @@ export function hasStepSourceMaps(): boolean { return false; } - // Vercel production builds don't support step source maps - if (process.env.WORKFLOW_VERCEL_ENV === 'production') { - return false; - } - - // Vercel preview builds have proper source maps for all other frameworks, EXCEPT sveltekit + // Vercel deployments (both production and preview) have proper source maps + // for all frameworks EXCEPT sveltekit, thanks to ESM step bundles with + // inline source maps. if (!isLocalDeployment()) { return appName !== 'sveltekit'; }