0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
The web framework for content-driven websites. ️ Star to support our work!
Find a file
Erika 8946f2a256
fix: remote srcset images not being resized and deduplication not working in certain cases (#8823)
* fix: remote `srcset` images not being resized

* fix: hash keys ordered to reduce duplicate assets

* fix: move to workaround for hashing function

* fix: rework transform logic for densities and widths

* chore: changeset

* test: add tests

* fix: forced base srcset when using widths

* fix: unnecessary coalescing

* refactor: adjust with feedback

---------

Co-authored-by: Matteo Manfredi <matteo@manfredi.io>
2023-10-16 21:02:01 +02:00
.changeset fix: remote srcset images not being resized and deduplication not working in certain cases (#8823) 2023-10-16 21:02:01 +02:00
.devcontainer chore: removed adapters cleanup (#8726) 2023-10-10 19:36:35 +05:30
.github chore: removed adapters cleanup (#8726) 2023-10-10 19:36:35 +05:30
.gitpod chore: removed adapters cleanup (#8726) 2023-10-10 19:36:35 +05:30
.vscode
benchmark config: migrate us to moduleResolution: 'node16' (#8519) 2023-09-13 16:49:22 +02:00
examples [ci] release (#8796) 2023-10-12 09:43:24 -05:00
packages fix: remote srcset images not being resized and deduplication not working in certain cases (#8823) 2023-10-16 21:02:01 +02:00
scripts Update breaking dependencies (#8201) 2023-08-24 16:34:33 +08:00
.editorconfig
.eslintignore feat: remove webapi in favor of a smaller polyfill (#7840) 2023-08-08 11:01:45 +01:00
.eslintrc.cjs [ci] format 2023-09-12 17:52:22 +00:00
.git-blame-ignore-revs
.gitignore test: add setup for Vercel / Netlify tests (#7716) 2023-07-21 21:24:36 +02:00
.gitpod.yml chore: removed adapters cleanup (#8726) 2023-10-10 19:36:35 +05:30
.npmrc Handle compiler breaking change (#5803) 2023-01-12 22:46:56 +08:00
.nvmrc Remove support for Node 16 (#7780) 2023-08-08 11:01:33 +01:00
.prettierignore Update Prettier (#8420) 2023-09-06 10:23:44 -05:00
CONTRIBUTING.md Update non-major dependencies (#8199) 2023-08-23 19:52:13 +08:00
LICENSE
package.json Update Prettier (#8420) 2023-09-06 10:23:44 -05:00
pnpm-lock.yaml fix: remote srcset images not being resized and deduplication not working in certain cases (#8823) 2023-10-16 21:02:01 +02:00
pnpm-workspace.yaml Upgrade turbo (#6911) 2023-04-27 11:39:15 +08:00
prettier.config.js Update Prettier (#8420) 2023-09-06 10:23:44 -05:00
README.md chore: removed adapters cleanup (#8726) 2023-10-10 19:36:35 +05:30
SECURITY.md
SECURITY_CONTACTS
STYLE_GUIDE.md
tsconfig.base.json config: migrate us to moduleResolution: 'node16' (#8519) 2023-09-13 16:49:22 +02:00
tsconfig.eslint.json feat: use typescript-eslint@v6's reworked configs (#7425) 2023-07-03 20:59:43 +08:00
tsconfig.json
turbo.json test: add setup for Vercel / Netlify tests (#7716) 2023-07-21 21:24:36 +02:00

Build the web you want


Astro is a website build tool for the modern web —
powerful developer experience meets lightweight output.

Install

The recommended way to install the latest version of Astro is by running the command below:

npm create astro@latest

You can also install Astro manually by running this command instead:

npm install --save-dev astro

Looking for help? Start with our Getting Started guide.

Looking for quick examples? Open a starter project right in your browser.

Documentation

Visit our official documentation.

Support

Having trouble? Get help in the official Astro Discord.

Contributing

New contributors welcome! Check out our Contributors Guide for help getting started.

Join us on Discord to meet other maintainers. We'll help you get your first contribution in no time!

Directory

Package Release Notes
astro astro version
create-astro create-astro version
@astrojs/react astro version
@astrojs/preact astro version
@astrojs/solid-js astro version
@astrojs/svelte astro version
@astrojs/vue astro version
@astrojs/lit astro version
@astrojs/node astro version
@astrojs/vercel astro version
@astrojs/cloudflare astro version
@astrojs/partytown astro version
@astrojs/sitemap astro version
@astrojs/tailwind astro version
@astrojs/alpinejs astro version
@astrojs/mdx astro version
@astrojs/prefetch astro version

CII Best Practices

Several official projects are maintained outside of this repo:

Project Repository
@astrojs/compiler withastro/compiler
Astro Language Tools withastro/language-tools

Sponsors

Astro is free, open source software made possible by these wonderful sponsors.

❤️ Sponsor Astro! ❤️

Astro's sponsors.