chore: add azure static web app deployment config

This commit is contained in:
grassblock 2025-05-13 21:08:25 +08:00
parent c57e214020
commit 41e1a4abee
3 changed files with 2340 additions and 24 deletions

View file

@ -22,6 +22,7 @@
},
"packageManager": "pnpm@10.7.1+sha512.2d92c86b7928dc8284f53494fb4201f983da65f0fb4f0d40baafa5cf628fa31dae3e5968f12466f17df7e97310e30f343a648baea1b9b350685dafafffdf5808",
"devDependencies": {
"@azure/static-web-apps-cli": "^2.0.6",
"@types/node": "^22.15.3"
}
}

2349
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

14
swa-cli.config.json Normal file
View file

@ -0,0 +1,14 @@
{
"$schema": "https://aka.ms/azure/static-web-apps-cli/schema",
"configurations": {
"mercury": {
"appLocation": ".",
"outputLocation": "dist",
"appBuildCommand": "pnpm run build",
"run": "pnpm run dev",
"appDevserverUrl": "http://localhost:4321",
"appName": "mercury",
"resourceGroup": "mercury-rg"
}
}
}