Skip to content

Commit

Permalink
Merge pull request #90 from hqwuzhaoyi/sourcemap
Browse files Browse the repository at this point in the history
build: Add cross-env package for environment variable configuration
  • Loading branch information
MichaelYuhe committed Dec 19, 2023
2 parents 895928d + 3d12e79 commit 680e366
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"packageManager": "pnpm@8.11.0",
"scripts": {
"prepare": "husky install",
"dev": "NODE_ENV=development vite build --watch",
"dev": "cross-env NODE_ENV=development vite build --watch",
"build": "vite build",
"typecheck": "tsc --noEmit",
"style": "prettier --check \"src/**/*.{ts,tsx}\"",
Expand All @@ -30,6 +30,7 @@
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react-swc": "^3.5.0",
"autoprefixer": "^10.4.16",
"cross-env": "^7.0.3",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"postcss": "^8.4.32",
Expand Down
11 changes: 11 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 680e366

Please sign in to comment.