File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
packages/next-swc/crates/next-core/src/next_server Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,8 @@ pub async fn get_server_module_options_context(
260260 ServerContextType :: AppSSR { .. } => {
261261 let module_options_context = ModuleOptionsContext {
262262 custom_ecmascript_transforms : vec ! [ EcmascriptInputTransform :: ServerDirective (
263+ // ServerDirective is not implemented yet and always reports an issue.
264+ // We don't have to pass a valid transition name yet, but the API is prepared.
263265 StringVc :: cell( "TODO" . to_string( ) ) ,
264266 ) ] ,
265267 execution_context : Some ( execution_context) ,
@@ -286,7 +288,12 @@ pub async fn get_server_module_options_context(
286288 EcmascriptInputTransform :: ClientDirective ( StringVc :: cell(
287289 "server-to-client" . to_string( ) ,
288290 ) ) ,
289- EcmascriptInputTransform :: ServerDirective ( StringVc :: cell( "TODO" . to_string( ) ) ) ,
291+ EcmascriptInputTransform :: ServerDirective (
292+ // ServerDirective is not implemented yet and always reports an issue.
293+ // We don't have to pass a valid transition name yet, but the API is
294+ // prepared.
295+ StringVc :: cell( "TODO" . to_string( ) ) ,
296+ ) ,
290297 ] ,
291298 execution_context : Some ( execution_context) ,
292299 ..Default :: default ( )
You can’t perform that action at this time.
0 commit comments