From 580403cdac71ec0f8295b017bdeac2c4f5721965 Mon Sep 17 00:00:00 2001 From: Pete Bishop Date: Tue, 25 Feb 2025 14:40:26 +0000 Subject: [PATCH] Update demo commands to legit use cases --- resources/views/docs/desktop/1/publishing/building.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/docs/desktop/1/publishing/building.md b/resources/views/docs/desktop/1/publishing/building.md index cb71d2d0..d18b166c 100644 --- a/resources/views/docs/desktop/1/publishing/building.md +++ b/resources/views/docs/desktop/1/publishing/building.md @@ -34,8 +34,8 @@ To utilise these hooks, add the following to your `config/nativephp.php` file: ```php 'prebuild' => [ - 'npm run build:js', // Run a command before the build - 'npm run build:css', // Run another command before the build + 'npm run build', // Run a command before the build + 'php artisan optimize', // Run another command before the build ], 'postbuild' => [ 'npm run release', // Run a command after the build