Skip to content

Commit 0d936a9

Browse files
authored
Make hotFile() public for Vite (#43875)
1 parent 21dfb6c commit 0d936a9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Illuminate/Foundation/Vite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function withEntryPoints($entryPoints)
118118
*
119119
* @return string
120120
*/
121-
protected function hotFile()
121+
public function hotFile()
122122
{
123123
return $this->hotFile ?? public_path('/hot');
124124
}

src/Illuminate/Support/Facades/Vite.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* @method static string useCspNonce(?string $nonce = null)
77
* @method static string|null cspNonce()
88
* @method static string asset(string $asset, string|null $buildDirectory)
9+
* @method static string hotFile()
910
* @method static \Illuminate\Foundation\Vite useBuildDirectory(string $path)
1011
* @method static \Illuminate\Foundation\Vite useHotFile(string $path)
1112
* @method static \Illuminate\Foundation\Vite useIntegrityKey(string|false $key)

0 commit comments

Comments
 (0)