Skip to content

Commit

Permalink
fix: build command
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Sep 30, 2024
1 parent a571179 commit a305838
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/" # App source code path
app_build_command: "pnpm install && pnpm build"
api_location: "" # Api source code path - optional
output_location: "build" # Built app content directory - optional
output_location: "dist" # Built app content directory - optional
###### End of Repository/Build Configurations ######

close_pull_request_job:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ dist-ssr
*.njsproj
*.sln
*.sw?

# TypeScript cache files
*.tsbuildinfo
5 changes: 5 additions & 0 deletions staticwebapp.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"navigationFallback": {
"rewrite": "/index.html"
}
}

0 comments on commit a305838

Please sign in to comment.