0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages
Nate Moore a87ce4412c
Improve HMR handling for styles, persisted islands (#3492)
* feat: improve HMR handling for styles, persisted islands

* Also using data-persist to keep injected <style>'s during HMR

* Updating E2E tests to validate that .astro HMR doesn't blow away component styles

* chore: add changeset

* copy/paste error when cleaning up tests

* big change - using inline <style> blocks instead of <link>s in dev

* Updating tests that were expecting <link> stylesheets in dev

* updating all E2E tests to use workspace versions for astro deps

* TEMP: adding debug logging to see why the Ubuntu test only fails in CI

* fix: Svelte styles are automatically handled by Vite, we can skip them in dev

* fix: svelte is more interesting, we need Astro to inject styles only until hydration

* avoiding extra HMTL noise by only including the data-astro-injected URL for svelte components

* TEMP: ubuntu CI doesn't like the svelte HMR test...

* disabling the svelte component test on ubuntu for now

Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
2022-06-06 18:39:48 +00:00
..
astro Improve HMR handling for styles, persisted islands (#3492) 2022-06-06 18:39:48 +00:00
astro-prism [ci] update lockfile (#3153) 2022-04-20 09:42:31 -04:00
astro-rss [ci] update lockfile (#3495) 2022-06-01 10:39:32 -05:00
create-astro [ci] format 2022-06-06 16:49:53 +00:00
integrations [ci] format 2022-06-06 16:49:53 +00:00
markdown/remark [ci] format 2022-06-06 16:49:53 +00:00
telemetry [ci] format 2022-06-06 16:49:53 +00:00
webapi [ci] format 2022-06-06 16:49:53 +00:00