|
Repo Added
|
Files
76
|
Badge
README BADGES
|
push
github
Bump astro from 5.15.3 to 5.16.0 in /website (#279) Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 5.15.3 to 5.16.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases">astro's releases</a>.</em></p> <blockquote> <h2>astro@5.16.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13880">#13880</a> <a href="https://github.com/withastro/astro/commit/1a2ed01c9"><code>1a2ed01</code></a> Thanks <a href="https://github.com/azat-io"><code>@azat-io</code></a>! - Adds experimental SVGO optimization support for SVG assets</p> <p>Astro now supports automatic SVG optimization using SVGO during build time. This experimental feature helps reduce SVG file sizes while maintaining visual quality, improving your site's performance.</p> <p>To enable SVG optimization with default settings, add the following to your <code>astro.config.mjs</code>:</p> <pre lang="js"><code>import { defineConfig } from 'astro/config'; <p>export default defineConfig({ experimental: { svgo: true, }, }); </code></pre></p> <p>To customize optimization, pass a <a href="https://svgo.dev/docs/plugins/">SVGO configuration object</a>:</p> <pre lang="js"><code>export default defineConfig({ experimental: { svgo: { plugins: [ 'preset-default', { name: 'removeViewBox', active: false, }, ], }, }, }); </code></pre> <p>For more information on enabling and using this feature in your project, see the <a href="https://docs.astro.build/en/reference/experimental-flags/svg-optimization/">experimental SVG optimization docs</a>.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14810">#14810</a> <a href="https://github.com/withastro/astro/commit/2e845fe56"><code>2e845fe</code></a> Thanks <a href="https://github.com/a... (continued)
3073 of 3467 relevant lines covered (88.64%)
0.89 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|