Skip to content

Commit

Permalink
ci(build): add script ionic:build
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonGolms committed Jan 11, 2021
1 parent 1f62f97 commit 0811f8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
action: 'upload'
###### Repository/Build Configurations - These values can be configured to match you app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_build_command: 'npx ionic build --prod --engine=browser' # Defines a custom command to run during deployment of the static content application.
app_build_command: 'npm run ionic:build' # Defines a custom command to run during deployment of the static content application.
app_location: '/' # App source code path
api_location: 'api' # Api source code path - optional
output_location: 'build' # Built app content directory - optional
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
"generate:resources:assets:ios": "node scripts/resources/assets-ios.js",
"generate:resources:assets:pwa": "node scripts/resources/assets-pwa.js",
"ionic:build:before": "node scripts/images/squoosh.js",
"ionic:build": "ionic build --prod --engine=browser",
"start": "react-scripts start",
"build": "npm run generate:images && react-scripts build",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"res": "node scripts/res.js",
Expand Down

0 comments on commit 0811f8d

Please sign in to comment.