diff options
| author | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-08-25 23:42:09 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-08-25 23:42:09 +0200 |
| commit | b82021b7fbd909070bf8e015e1f753f0bf8a3240 (patch) | |
| tree | 5b1a64a7c1a3c806a6077d279a71ef537244fc7e | |
| parent | f3207bb5f941189c5ac961b56986fe4c9d35b5e6 (diff) | |
shoot
| -rw-r--r-- | package.json | 3 | ||||
| -rw-r--r-- | swa-cli.config.json | 4 |
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" } } |
