From 0e265c6e9c2cc0ad57543ffd352fb358abc1c564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E4=BA=95=20=E9=99=B8=E7=99=BB?= Date: Thu, 5 Sep 2024 20:41:45 +0900 Subject: [PATCH] =?UTF-8?q?VITE=5FENVIRONMENT=20=E3=81=AE=E3=83=87?= =?UTF-8?q?=E3=83=95=E3=82=A9=E3=83=AB=E3=83=88=E5=80=A4=E3=82=92=20produc?= =?UTF-8?q?tion=20=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 本番サーバー反映時にデフォルト development だと、不便なため --- src/ServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 762b750..0561731 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -48,7 +48,7 @@ public function init() Application::singleton('vite.helper', Vite::class, [ env('VITE_DEV_SERVER_URL'), env('VITE_MANIFEST_PATH'), - env('VITE_ENVIRONMENT', 'development') + env('VITE_ENVIRONMENT', 'production'), ]); $hook = HookFactory::singleton(); $hook->attach('vite.hook', new Hook());