Skip to content

Commit 449e92c

Browse files
committed
project config
1 parent 6825b0e commit 449e92c

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

apps/demo/project.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,12 @@
3131
"preview": {
3232
"ssr": "src/entry.preview.tsx",
3333
"mode": "production"
34+
},
35+
"production": {
36+
"configFile": "apps/demo/adapters/vercel-edge/vite.config.ts"
3437
}
35-
}
38+
},
39+
"dependsOn": []
3640
},
3741
"preview": {
3842
"executor": "@nx/vite:preview-server",
@@ -70,6 +74,19 @@
7074
"options": {
7175
"lintFilePatterns": ["apps/demo/**/*.{ts,tsx,js,jsx}"]
7276
}
77+
},
78+
"deploy": {
79+
"executor": "nx:run-commands",
80+
"options": {
81+
"command": "vite build -c adapters/vercel-edge/vite.config.ts"
82+
},
83+
"dependsOn": ["build-vercel"]
84+
},
85+
"build-vercel": {
86+
"executor": "nx:run-commands",
87+
"options": {
88+
"command": "vite build -c adapters/vercel-edge/vite.config.ts"
89+
}
7390
}
7491
},
7592
"tags": []

0 commit comments

Comments
 (0)