We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed14871 commit 58d51a5Copy full SHA for 58d51a5
scripts/direct/update.bat
@@ -1,4 +1,4 @@
1
-@REM You need to run this on every update
+@REM You need to run this on every update (only for production)
2
3
@REM ~~~~~~~~ Laravel App ~~~~~~~~
4
@@ -17,3 +17,6 @@ CALL npm i -s
17
@REM run build script
18
CALL npm run build
19
CALL npm run prod
20
+
21
+@REM run optimize command
22
+CALL php artisan optimize
scripts/direct/update.sh
-# You need to run this on every update
+# You need to run this on every update (only for production)
# ~~~~~~~~ Laravel App ~~~~~~~~
@@ -17,3 +17,6 @@ npm i -s
# run build script
npm run build
npm run prod
+# run optimize command
+php artisan optimize
0 commit comments