Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Jan 10, 2024
1 parent d59a4d9 commit 73793ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bundlers/Bun.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 2 additions & 0 deletions src/Components/Bundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73793ab

Please sign in to comment.