We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
options.ssr
transformRequest
1 parent 477921b commit 49efc34Copy full SHA for 49efc34
packages/vite/src/node/server/transformRequest.ts
@@ -71,12 +71,6 @@ export function transformRequest(
71
url: string,
72
options: TransformOptions = {},
73
): Promise<TransformResult | null> {
74
- // Backward compatibility when only `ssr` is passed
75
- if (!options.ssr) {
76
- // Backward compatibility
77
- options = { ...options, ssr: environment.config.consumer === 'server' }
78
- }
79
-
80
if (environment._closing && environment.config.dev.recoverable)
81
throwClosedServerError()
82
0 commit comments