Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README #1

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
</div>


<!-- ☘️ If you find this bundle helpful, feel free to show your appreciation by starring the repository on GitHub or
sending a message to the author. Thank you! ☘️ -->


## Minify integration

SensioLabs Minify Bundle integrates [Minify](https://github.com/tdewolff/minify) into Symfony Asset Mapper.
Expand All @@ -29,9 +33,9 @@ SensioLabs Minify Bundle integrates [Minify](https://github.com/tdewolff/minify)

🎯 Automatically `minify` assets during the build process.

📦📦 Compress and store minified assets in the `cache` directory.
📦📦 Stores minified assets in the Symfony `cache`.

🌿🌿🌿 Download the Minify binary `automatically` from the repository.
🌿🌿🌿 Download the Minify binary `automatically` from Github.

## Minification

Expand All @@ -44,7 +48,6 @@ SensioLabs Minify Bundle integrates [Minify](https://github.com/tdewolff/minify)
| [Video.js][5] | 2.3 MB | 0.7 MB | -71% | ⬜️⬜️⬜️⬜️⬜️⬜️🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 | 42 ms |
| [w3c.org js][7] | 44 kB | 19 kB | -57% | ⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 | 6 ms |


### CSS

| Asset | Before | After | Diff | Compression | Time |
Expand All @@ -54,7 +57,6 @@ SensioLabs Minify Bundle integrates [Minify](https://github.com/tdewolff/minify)
| [Video-js.css][6] | 53 kB | 47 kB | -12% | ⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜⬜️⬜️⬜️⬜️⬜️⬜️⬜️️🟩🟩 | 4 ms |
| [w3c.org css][8] | 111 kB | 70 kB | -37% | ⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️🟩🟩🟩🟩🟩🟩🟩🟩 | 5 ms |


## Installation

Make sure Composer is installed globally, as explained in the
Expand Down