fix: ensure vite installs and builds correctly on Netlify

This commit is contained in:
Wayne Sutton
2025-12-14 12:06:11 -08:00
parent ad7f07ffe1
commit 59e9c655d4
3 changed files with 5 additions and 2 deletions

View File

@@ -1,9 +1,10 @@
[build]
command = "npm install && npx convex deploy --cmd 'npm run build'"
command = "npm ci && npx convex deploy --cmd 'npm run build'"
publish = "dist"
[build.environment]
NODE_VERSION = "20"
NPM_FLAGS = "--include=dev"
# Convex HTTP endpoints
# RSS feeds