Bläddra i källkod

added check to remove local import starting from . (#1807)

wassaf shahzad 1 år sedan
förälder
incheckning
1c598b8428
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      reflex/app.py

+ 1 - 0
reflex/app.py

@@ -524,6 +524,7 @@ class App(Base):
             and i != "focus-visible/dist/focus-visible"
             and i != "focus-visible/dist/focus-visible"
             and "next" not in i
             and "next" not in i
             and not i.startswith("/")
             and not i.startswith("/")
+            and not i.startswith(".")
             and i != ""
             and i != ""
         }
         }
         frontend_packages = get_config().frontend_packages
         frontend_packages = get_config().frontend_packages