frontend complete migration from parcel to vite for much better production builds

This commit is contained in:
Yeicor
2024-03-03 17:54:53 +01:00
parent 0fad65d7b2
commit da0dcea44a
30 changed files with 1142 additions and 1651 deletions

View File

@@ -4,4 +4,4 @@ import subprocess
if __name__ == "__main__":
# When building the backend, make sure the frontend is built first
subprocess.run(['yarn', 'install'], check=True)
subprocess.run(['yarn', 'build', '--dist-dir', 'yacv_server/frontend'], check=True)
subprocess.run(['yarn', 'build', '--outDir', 'yacv_server/frontend'], check=True)