Skip to content

Commit

Permalink
Add SWA CLI config
Browse files Browse the repository at this point in the history
  • Loading branch information
justinyoo committed Jun 17, 2023
1 parent ed48984 commit 4dfc110
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
- name: Create artifacts
shell: bash
run: |
export CI=false
swa build
- name: Login to Azure
Expand Down
12 changes: 12 additions & 0 deletions swa-cli.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://aka.ms/azure/static-web-apps-cli/schema",
"configurations": {
"hg-workshop": {
"appLocation": "web",
"outputLocation": "build",
"appBuildCommand": "npm install && npm run build",
"run": "npm start",
"appDevserverUrl": "http://localhost:3000"
}
}
}
7 changes: 4 additions & 3 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
]
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"tailwindcss": "^3.3.2"
}
}

0 comments on commit 4dfc110

Please sign in to comment.