Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 1cc5002

Browse files
Merge pull request #172 from Shyrro/fix/crossEnvIssues
Fix NODE_ENV issues for Windows users
2 parents c327507 + bac1760 commit 1cc5002

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
@@ -24,9 +24,9 @@
2424
"scaffold": "hygen generator",
2525
"release": "yarn changeset publish",
2626
"preplaygound:dev": "node ./scripts/dev.js",
27-
"playground:dev": "NODE_ENV=development vite serve playground --config ./vite.config.ts --open",
27+
"playground:dev": "cross-env NODE_ENV=development vite serve playground --config ./vite.config.ts --open",
2828
"preplaygound:build": "node ./scripts/dev.js",
29-
"playground:build": "yarn install && yarn build && NODE_ENV=production vite build playground --config ./vite.config.ts",
29+
"playground:build": "yarn install && yarn build && cross-env NODE_ENV=production vite build playground --config ./vite.config.ts",
3030
"cy:open": "cypress open-ct",
3131
"cy:run": "cypress run-ct --quiet",
3232
"test:component": "yarn cy:run",

0 commit comments

Comments
 (0)