Skip to content

Commit

Permalink
Merge pull request #5619 from dimer47/fix-metas-publish-with-backpack…
Browse files Browse the repository at this point in the history
…-install

Remove publishing of public assets
  • Loading branch information
pxpm authored Aug 19, 2024
2 parents 016c8bc + 352d61e commit 3414754
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/BackpackServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ public function registerMiddlewareGroup(Router $router)
public function publishFiles()
{
$backpack_views = [__DIR__.'/resources/views' => resource_path('views/vendor/backpack')];
$backpack_public_assets = [__DIR__.'/public' => public_path()];
$backpack_lang_files = [__DIR__.'/resources/lang' => app()->langPath().'/vendor/backpack'];
$backpack_config_files = [__DIR__.'/config' => config_path()];

Expand All @@ -159,7 +158,6 @@ public function publishFiles()
$minimum = array_merge(
// $backpack_views,
// $backpack_lang_files,
$backpack_public_assets,
$backpack_config_files,
$backpack_menu_contents_view,
$backpack_custom_routes_file,
Expand All @@ -171,7 +169,6 @@ public function publishFiles()
$this->publishes($backpack_lang_files, 'lang');
$this->publishes($backpack_views, 'views');
$this->publishes($backpack_menu_contents_view, 'menu_contents');
$this->publishes($backpack_public_assets, 'public');
$this->publishes($backpack_custom_routes_file, 'custom_routes');
$this->publishes($gravatar_assets, 'gravatar');
$this->publishes($minimum, 'minimum');
Expand Down

0 comments on commit 3414754

Please sign in to comment.