From d1d84c934c727f3d148d913822d7b3f2d4ed8aa7 Mon Sep 17 00:00:00 2001 From: Dave Roverts Date: Mon, 31 Oct 2022 18:43:56 +0100 Subject: [PATCH] fix(build): add build command to match vite commands --- README.md | 2 +- package.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 68fc4b1f..6f7073fe 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,7 @@ and before that I used [Laravel Homestead](https://laravel.com/docs/9.x/homestea php artisan migrate php artisan storage:link # Only needed for first deployment npm ci - npm run prod + npm run build ``` Development: diff --git a/package.json b/package.json index 7fd723fa..b2db396f 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,9 @@ "watch": "mix watch", "watch-poll": "mix watch -- --watch-options-poll=1000", "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", - "prod": "npm run production", - "production": "mix --production", + "prod": "npm run build", + "production": "npm run build", + "build": "mix --production", "semantic-release": "semantic-release" }, "devDependencies": {