diff --git a/src/Bundlers/Bun.php b/src/Bundlers/Bun.php index 0e8b52a..04da490 100644 --- a/src/Bundlers/Bun.php +++ b/src/Bundlers/Bun.php @@ -33,7 +33,7 @@ public function build(string $inputPath, string $outputPath, string $fileName): ]; - Process::run(dd("{$path}bun build {$this->args($options)}")) + Process::run("{$path}bun build {$this->args($options)}") ->throw(function ($res) use ($inputPath, $fileName): void { $failed = file_get_contents($inputPath.$fileName); throw new BundlingFailedException($res, $failed); diff --git a/src/Components/Bundle.php b/src/Components/Bundle.php index c1b9211..8f99b6f 100644 --- a/src/Components/Bundle.php +++ b/src/Components/Bundle.php @@ -34,6 +34,8 @@ public function render() BundleManager::new()->bundle($js) ); + dd($bundle); + // Render script tag with bundled code return view('bundle::bundle', [ 'bundle' => $bundle