فهرست منبع

run setup_frontend during export (#1148)

Sheldon 2 سال پیش
والد
کامیت
ee762a7b35
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      pynecone/pc.py

+ 4 - 0
pynecone/pc.py

@@ -213,6 +213,10 @@ def export(
 
     # Compile the app in production mode and export it.
     console.rule("[bold]Compiling production app and preparing for export.")
+
+    if frontend:
+        build.setup_frontend(Path.cwd())
+
     app = prerequisites.get_app().app
     build.export_app(
         app,