Skip to content

Commit

Permalink
VITE_ENVIRONMENT のデフォルト値を production に変更
Browse files Browse the repository at this point in the history
本番サーバー反映時にデフォルト development だと、不便なため
  • Loading branch information
uidev1116 committed Sep 5, 2024
1 parent 0c746fc commit 0e265c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 0e265c6

Please sign in to comment.