浏览代码

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

wassaf shahzad 1 年之前
父节点
当前提交
1c598b8428
共有 1 个文件被更改,包括 1 次插入0 次删除
  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