aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.json3
-rw-r--r--swa-cli.config.json4
2 files changed, 5 insertions, 2 deletions
diff --git a/package.json b/package.json
index 73f1bc5..a2df7e7 100644
--- a/package.json
+++ b/package.json
@@ -2,6 +2,9 @@
"name": "frontend",
"private": true,
"version": "0.0.0",
+ "engines": {
+ "node": ">=20.0.0"
+ },
"type": "module",
"scripts": {
"dev": "vite",
diff --git a/swa-cli.config.json b/swa-cli.config.json
index 5f8a3ac..809aa6d 100644
--- a/swa-cli.config.json
+++ b/swa-cli.config.json
@@ -7,9 +7,9 @@
"outputLocation": "dist",
"apiLanguage": "dotnetisolated",
"apiVersion": "8.0",
- "appBuildCommand": "npm run build",
+ "appBuildCommand": "yarn build",
"apiBuildCommand": "dotnet publish -c Release",
- "run": "npm run dev",
+ "run": "yarn dev",
"appDevserverUrl": "http://localhost:5173"
}
}