run setup_frontend during export (#1148)

This commit is contained in:
Sheldon 2023-06-08 02:55:19 +08:00 committed by GitHub
parent f11fd25448
commit ee762a7b35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,