Skip to content

Commit

Permalink
fix: build staging environment
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-liu-smile committed Apr 27, 2023
1 parent 96a2f7c commit 57158bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/storefront/.env-example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VITE_B2B_URL=http://localhost:9000
VITE_B2B_SOCKET_URL=http://localhost:9000
VITE_STORE_HASH=store_hash
VITE_CATPCHA_SETKEY=captcha_setkey
VITE_CATPCHA_SETKEY=captcha_setkey
1 change: 1 addition & 0 deletions apps/storefront/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build:staging": "tsc && vite build --mode staging",
"lint": "eslint \"**/*.{ts,tsx}\"",
"preview": "vite preview",
"test": "vitest",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"scripts": {
"build": "turbo run build",
"build:staging": "tsc && vite build --mode staging",
"build:staging": "turbo run build:staging",
"dev": "turbo run dev --parallel",
"lint": "turbo run lint",
"lint:fix": "turbo run lint -- --fix",
Expand Down

0 comments on commit 57158bf

Please sign in to comment.