Skip to content

Commit 1c5f033

Browse files
fix build script
1 parent 77ad7ee commit 1c5f033

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

React/package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

React/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"scripts": {
2222
"start": "npm dev",
23-
"build": "node ./node_modules/vite/bin/vite.js build",
23+
"build": "tsc -b && vite build",
2424
"dev": "vite",
2525
"preview": "vite preview",
2626
"test": "vite test",
@@ -55,6 +55,7 @@
5555
"eslint-plugin-react": "7.31.10",
5656
"eslint-plugin-react-perf": "^3.3.1",
5757
"npm-run-all": "^4.1.5",
58+
"picocolors": "^1.1.1",
5859
"stylelint": "^15.6.1",
5960
"stylelint-config-standard": "^33.0.0",
6061
"vite": "^6.3.5"

0 commit comments

Comments
 (0)