@@ -4,8 +4,12 @@ |
||
| 4 | 4 | // mix('js/app.js') |
| 5 | 5 | function mix($path, $json = false, $shouldHotReload = false) |
| 6 | 6 | { |
| 7 | - if (! $json) static $json; |
|
| 8 | - if (! $shouldHotReload) static $shouldHotReload; |
|
| 7 | + if (! $json) { |
|
| 8 | + static $json; |
|
| 9 | + } |
|
| 10 | + if (! $shouldHotReload) { |
|
| 11 | + static $shouldHotReload; |
|
| 12 | + } |
|
| 9 | 13 | |
| 10 | 14 | if (! $json) { |
| 11 | 15 | $manifestPath = public_path('manifest.json'); |