Skip to content

Commit faec12b

Browse files
authored
Expose rx.Plugin hook contexts (#6537)
PostBuildContext and PostCompileContext were not exposed through reflex_base.plugins, unlike PreCompileContext. Added these newer contexts for completeness.
1 parent 7ba1994 commit faec12b

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

  • packages/reflex-base/src/reflex_base/plugins

packages/reflex-base/src/reflex_base/plugins/__init__.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
from . import embed, sitemap, tailwind_v3, tailwind_v4
44
from ._screenshot import ScreenshotPlugin as _ScreenshotPlugin
5-
from .base import CommonContext, Plugin, PreCompileContext
5+
from .base import (
6+
CommonContext,
7+
Plugin,
8+
PostBuildContext,
9+
PostCompileContext,
10+
PreCompileContext,
11+
)
612
from .compiler import (
713
BaseContext,
814
CompileContext,
@@ -26,6 +32,8 @@
2632
"PageContext",
2733
"PageDefinition",
2834
"Plugin",
35+
"PostBuildContext",
36+
"PostCompileContext",
2937
"PreCompileContext",
3038
"SitemapPlugin",
3139
"TailwindV3Plugin",

0 commit comments

Comments
 (0)