frontend: streamline frontend build process in prepare script

This commit is contained in:
Carlos Santos 2025-05-14 11:37:45 +02:00
parent cff4e10364
commit 19fd1cc30e
2 changed files with 13 additions and 7 deletions

View File

@ -42,6 +42,12 @@
"clearScreen": true
},
"production": {
"outputPath": {
"base": "../backend/public",
"browser": ""
},
"deleteOutputPath": true,
"clearScreen": true,
"budgets": [
{
"type": "initial",

View File

@ -14,14 +14,14 @@ npm install
npm run build:prod
cd ..
# Build frontend
cd frontend
npm install
npm run build:prod
cd ..
# Build webcomponent
cd frontend/webcomponent
npm install
npm run build
cd ../..
# Build frontend
cd frontend
npm install
# npm run lib:build
cd ..
cd ../..