From 4b6deda360b2ba47d03427c377d5982b24ee894c Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Thu, 3 Aug 2023 14:41:08 -0400 Subject: [PATCH] Export createTransitionScope from the runtime (#7936) --- .changeset/metal-owls-juggle.md | 5 +++++ packages/astro/src/runtime/server/index.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/metal-owls-juggle.md diff --git a/.changeset/metal-owls-juggle.md b/.changeset/metal-owls-juggle.md new file mode 100644 index 000000000..443d16780 --- /dev/null +++ b/.changeset/metal-owls-juggle.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Export createTransitionScope for the runtime diff --git a/packages/astro/src/runtime/server/index.ts b/packages/astro/src/runtime/server/index.ts index aca260d00..4e8ecb857 100644 --- a/packages/astro/src/runtime/server/index.ts +++ b/packages/astro/src/runtime/server/index.ts @@ -36,7 +36,7 @@ export type { ComponentSlots, RenderInstruction, } from './render/index.js'; -export { renderTransition } from './transition.js'; +export { renderTransition, createTransitionScope } from './transition.js'; import { markHTMLString } from './escape.js'; import { addAttribute, Renderer } from './render/index.js';