From ee1ded3ba690d330a69785fc71c3427140741e0f Mon Sep 17 00:00:00 2001 From: Sean Doyle Date: Fri, 27 Oct 2023 11:52:57 +0200 Subject: [PATCH] Remove Circular Build Dependency Resolves https://github.com/hotwired/turbo/pull/1026#issuecomment-1782605125 --- src/core/index.js | 2 -- src/index.js | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/index.js b/src/core/index.js index b2ada177e..27a2ad15c 100644 --- a/src/core/index.js +++ b/src/core/index.js @@ -9,8 +9,6 @@ const session = new Session() const { cache, navigator } = session export { navigator, session, cache, PageRenderer, PageSnapshot, FrameRenderer, fetch } -export { StreamActions } from "./streams/stream_actions" - /** * Starts the main session. * This initialises any necessary observers such as those to monitor diff --git a/src/index.js b/src/index.js index 07e3e097d..c3f27878e 100644 --- a/src/index.js +++ b/src/index.js @@ -7,6 +7,7 @@ import * as Turbo from "./core" window.Turbo = Turbo Turbo.start() +export { StreamActions } from "./core/streams/stream_actions" export * from "./core" export * from "./elements" export * from "./http"