mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Tweak formatting
This commit is contained in:
parent
0beb5c5274
commit
6484cb6304
@ -162,6 +162,8 @@ You want to integrate the frontend library "Bootstrap" into your project, but th
|
||||
to keep up with. You can create a publication definition in your project to sync frontend assets by adding extending
|
||||
``Publisher`` in your project. So **app/Publishers/BootstrapPublisher.php** might look like this::
|
||||
|
||||
<?php
|
||||
|
||||
namespace App\Publishers;
|
||||
|
||||
use CodeIgniter\Publisher\Publisher;
|
||||
@ -195,11 +197,11 @@ to keep up with. You can create a publication definition in your project to sync
|
||||
public function publish(): bool
|
||||
{
|
||||
return $this
|
||||
// Add all the files relative to $source
|
||||
// Add all the files relative to $source
|
||||
->addPath('dist')
|
||||
|
||||
// Indicate we only want the minimized versions
|
||||
->retainPattern('*.min.*)
|
||||
->retainPattern('*.min.*')
|
||||
|
||||
// Merge-and-replace to retain the original directory structure
|
||||
->merge(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user