Skip to content

Commit c3d29b7

Browse files
committed
chore: skip dev builds in the build npm command
The same filter is added for the prod build in the event you need to perfom a prod build on your local machine.
1 parent 7d32697 commit c3d29b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"serve:prs:react": "nx run react-prs:serve:development",
1111
"serve:prs:angular": "nx run angular-prs:serve:development",
1212
"dev:watch": "vite build --watch libs/web-components",
13-
"build": "nx affected --base=dev -t build --exclude=apps/*",
14-
"build:prod": "nx run-many -t build --all --prod --exclude=apps/*",
13+
"build": "nx affected --base=dev -t build --exclude=apps/dev/**/*",
14+
"build:prod": "nx run-many -t build --all --prod --exclude=apps/dev/**/*",
1515
"build:vscode-doc": "node libs/web-components/custom-element-manifest-analyze.js",
1616
"pretest:pr": "npx nx run common:build && npx nx run web-components:build && npx nx run react-components:build",
1717
"test:pr": "vitest --run --project=*-unit && vitest --run --project=*-headless && nx test angular-components",

0 commit comments

Comments
 (0)