From ae26f111fe4f94999194b9a487615ffaf0df5d58 Mon Sep 17 00:00:00 2001 From: Willem Leuverink Date: Wed, 10 Jan 2024 22:47:37 +0100 Subject: [PATCH] wip --- src/Components/Bundle.php | 2 -- src/Exceptions/BundlingFailedException.php | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Bundle.php b/src/Components/Bundle.php index 8f99b6f..c1b9211 100644 --- a/src/Components/Bundle.php +++ b/src/Components/Bundle.php @@ -34,8 +34,6 @@ public function render() BundleManager::new()->bundle($js) ); - dd($bundle); - // Render script tag with bundled code return view('bundle::bundle', [ 'bundle' => $bundle diff --git a/src/Exceptions/BundlingFailedException.php b/src/Exceptions/BundlingFailedException.php index 1e59af0..53be485 100644 --- a/src/Exceptions/BundlingFailedException.php +++ b/src/Exceptions/BundlingFailedException.php @@ -16,6 +16,8 @@ public function __construct(ProcessResult $result, $script = null) { $this->result = $result; + dump(['error output', $result->errorOutput()]); + $failed = $script ?? $result->command(); parent::__construct(