Skip to content

Commit d8aaddf

Browse files
fix: drop unneeded turbopack env (#6803)
* fix: drop unneeded turbopack env * chore: add news fragment for turbopack env removal --------- Co-authored-by: Farhan <www.mfarvirus@gmail.com>
1 parent 8ea5bdc commit d8aaddf

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove the unused `REFLEX_USE_TURBOPACK` environment variable. Turbopack is a Next.js bundler; the flag has had no effect since Reflex moved to React Router and Vite in 0.8.

packages/reflex-base/src/reflex_base/environment.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -664,9 +664,6 @@ class EnvironmentVariables:
664664
# The maximum size of the reflex state in kilobytes.
665665
REFLEX_STATE_SIZE_LIMIT: EnvVar[int] = env_var(1000)
666666

667-
# Whether to use the turbopack bundler.
668-
REFLEX_USE_TURBOPACK: EnvVar[bool] = env_var(False)
669-
670667
# Additional paths to include in the hot reload. Separated by a colon.
671668
REFLEX_HOT_RELOAD_INCLUDE_PATHS: EnvVar[list[Path]] = env_var([])
672669

0 commit comments

Comments
 (0)