Skip to content

Commit fc5a7e6

Browse files
committed
perf(render): Add npm prune --omit=dev to render.yaml buildCommand to prune devDependencies before start
1 parent 1bf36ef commit fc5a7e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

render.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
runtime: node
55
plan: free
66
region: oregon
7-
buildCommand: npm install && npm run build
7+
buildCommand: npm install && npm run build && npm prune --omit=dev
88
startCommand: npm start
99
envVars:
1010
- key: NODE_ENV

0 commit comments

Comments
 (0)