diff --git a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/DirectedTypeScriptCodegen.java b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/DirectedTypeScriptCodegen.java index 39f975e2ef9..945108f3325 100644 --- a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/DirectedTypeScriptCodegen.java +++ b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/DirectedTypeScriptCodegen.java @@ -437,14 +437,12 @@ public void customizeBeforeIntegrations( LOGGER.fine("Generating " + target + " runtime configuration"); configGenerator.generate(target); } + new ExtensionConfigurationGenerator(directive.model(), directive.service(), directive.symbolProvider(), + directive.context().writerDelegator(), directive.context().integrations()).generate(); + new RuntimeExtensionsGenerator(directive.model(), directive.service(), directive.symbolProvider(), + directive.context().writerDelegator(), directive.context().integrations()).generate(); } - new ExtensionConfigurationGenerator(directive.model(), directive.service(), directive.symbolProvider(), - directive.context().writerDelegator(), directive.context().integrations()).generate(); - - new RuntimeExtensionsGenerator(directive.model(), directive.service(), directive.symbolProvider(), - directive.context().writerDelegator(), directive.context().integrations()).generate(); - // Generate index for client. BiConsumer> writerFactory = directive.context().writerDelegator()::useFileWriter;