File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1172,7 +1172,7 @@ export function vitePluginUseClient(
11721172
11731173/** @experimental */
11741174export function vitePluginDefineEncryptionKey (
1175- useServerPluginOptions ? : Pick < RscPluginOptions , 'defineEncryptionKey' > ,
1175+ useServerPluginOptions : Pick < RscPluginOptions , 'defineEncryptionKey' > ,
11761176) : Plugin [ ] {
11771177 let defineEncryptionKey : string
11781178 let emitEncryptionKey = false
@@ -1185,7 +1185,7 @@ export function vitePluginDefineEncryptionKey(
11851185 async configEnvironment ( name , _config , env ) {
11861186 if ( name === 'rsc' && ! env . isPreview ) {
11871187 defineEncryptionKey =
1188- useServerPluginOptions ? .defineEncryptionKey ??
1188+ useServerPluginOptions . defineEncryptionKey ??
11891189 JSON . stringify ( toBase64 ( await generateEncryptionKey ( ) ) )
11901190 }
11911191 } ,
You can’t perform that action at this time.
0 commit comments