diff --git a/netlify.toml b/netlify.toml index 4c8457d..a930672 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,10 +1,9 @@ [build] - command = "npm ci && npx convex deploy --cmd 'npm run build'" + command = "npm ci --include=dev && npx convex deploy --cmd 'npm run build'" publish = "dist" [build.environment] NODE_VERSION = "20" - NPM_FLAGS = "--include=dev" # Convex HTTP endpoints # RSS feeds diff --git a/package.json b/package.json index c18ee5c..1d21e57 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "dev": "vite", "dev:convex": "convex dev", - "build": "vite build", + "build": "npx vite build", "typecheck": "tsc --noEmit", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview",