Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jatbi authored Jan 10, 2025
1 parent f5ed147 commit e27dc39
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,4 +353,13 @@ $newTime = $app->addTime(time(), 'P1D', 'd/m/Y H:i:s'); // Thêm 1 ngày

// Tính hiệu số thời gian:
$diff = $app->diffTime(strtotime('2024-01-01'), time());

// nén file css và js

$app->minifyCSS(['/path/to/file1.css', '/path/to/file2.css'], '/path/to/output.min.css');
$app->minifyJS(['/path/to/file1.js', '/path/to/file2.js'], '/path/to/output.min.js');

$app->minifyAndGzipJS(['/path/to/file1.js'], '/path/to/output.min.js.gz');


```

0 comments on commit e27dc39

Please sign in to comment.