Ver Fonte

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

wassaf shahzad há 1 ano atrás
pai
commit
1c598b8428
1 ficheiros alterados com 1 adições e 0 exclusões
  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 "next" not in i
             and not i.startswith("/")
+            and not i.startswith(".")
             and i != ""
         }
         frontend_packages = get_config().frontend_packages