Skip to content

Commit

Permalink
fix: set correct build output dir
Browse files Browse the repository at this point in the history
  • Loading branch information
pooriamehregan committed Apr 29, 2024
1 parent 2491bcf commit 1f7a33a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/forms-e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default defineConfig({
},
/* Run your local dev server before starting the tests */
webServer: {
command: 'yarn nx start forms',
command: 'yarn nx dev forms',
url: 'http://127.0.0.1:3000',
reuseExistingServer: !process.env.CI,
cwd: workspaceRoot,
Expand Down
11 changes: 10 additions & 1 deletion apps/forms/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,14 @@
"projectType": "application",
"tags": [],
"// targets": "to see all targets run: nx show project forms --web",
"targets": {}
"targets": {
"build": {
"executor": "@nx/next:build",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"outputPath": "dist/apps/forms"
}
}
}
}

0 comments on commit 1f7a33a

Please sign in to comment.