Skip to content

Commit

Permalink
build(web): remove dependsOn attribute for reduce build time
Browse files Browse the repository at this point in the history
  • Loading branch information
spicyzboss committed Jan 2, 2024
1 parent 451f3fc commit e52b5e9
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions apps/web/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,7 @@
"build": {
"executor": "qwik-nx:build",
"options": {
"runSequence": [
"web:build.pwa",
"web:build.client",
"web:build.ssr",
"web:build.server",
"web:build.bundle"
],
"runSequence": ["web:build.pwa", "web:build.client", "web:build.ssr", "web:build.server", "web:build.bundle"],
"outputPath": "dist/apps/web"
},
"dependsOn": [
Expand Down Expand Up @@ -57,12 +51,7 @@
"build.bundle": {
"executor": "nx:run-commands",
"options": {
"commands": [
"mkdir -p dist/apps/web/deploy/",
"cp -r dist/apps/web/client/* dist/apps/web/deploy/",
"cp -r dist/apps/web/server/ dist/apps/web/deploy/server/",
"echo 'Bundled to dist/apps/web/deploy'"
],
"commands": ["mkdir -p dist/apps/web/deploy/", "cp -r dist/apps/web/client/* dist/apps/web/deploy/", "cp -r dist/apps/web/server/ dist/apps/web/deploy/server/", "echo 'Bundled to dist/apps/web/deploy'"],
"parallel": false
}
},
Expand All @@ -74,7 +63,6 @@
},
"deploy": {
"executor": "nx:run-commands",
"dependsOn": ["build"],
"options": {
"command": "wrangler pages deploy dist/apps/web/deploy"
}
Expand Down

0 comments on commit e52b5e9

Please sign in to comment.