Skip to content

Commit d1d84c9

Browse files
committed
fix(build): add build command to match vite commands
1 parent 409de2c commit d1d84c9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ and before that I used [Laravel Homestead](https://laravel.com/docs/9.x/homestea
150150
php artisan migrate
151151
php artisan storage:link # Only needed for first deployment
152152
npm ci
153-
npm run prod
153+
npm run build
154154
```
155155

156156
Development:

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
"watch": "mix watch",
1818
"watch-poll": "mix watch -- --watch-options-poll=1000",
1919
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
20-
"prod": "npm run production",
21-
"production": "mix --production",
20+
"prod": "npm run build",
21+
"production": "npm run build",
22+
"build": "mix --production",
2223
"semantic-release": "semantic-release"
2324
},
2425
"devDependencies": {

0 commit comments

Comments
 (0)