Skip to content

Commit

Permalink
Load minified assets from dist/
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Apr 21, 2022
1 parent 33fd581 commit bb84e8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Actions/PublishesDefaultFrontendResourceFiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class PublishesDefaultFrontendResourceFiles
{
public static array $files = [
'app.css',
'hyde.css',
'hyde.js',
'dist/hyde.css',
'dist/hyde.js',
];

public function __construct(protected ?bool $force = false)
Expand All @@ -44,7 +44,7 @@ protected function handleFile(string $file): void
{
Hyde::copy(
Hyde::path('vendor/hyde/framework/resources/frontend/'.$file),
Hyde::path('resources/frontend/'.$file),
Hyde::path('resources/frontend/'.basename($file)),
$this->force
);
}
Expand Down

0 comments on commit bb84e8c

Please sign in to comment.