diff options
author | 2021-09-10 19:17:17 +0200 | |
---|---|---|
committer | 2021-09-10 11:17:17 -0600 | |
commit | dd92871fd77face243b51be29bd7f675f985d6e0 (patch) | |
tree | ce7b0c41457575ea556aa7c038f28db2578ac1f9 /.changeset | |
parent | 85bc51930bb67e44b4286a2a020ed9e0b37fb7c2 (diff) | |
download | astro-dd92871fd77face243b51be29bd7f675f985d6e0.tar.gz astro-dd92871fd77face243b51be29bd7f675f985d6e0.tar.zst astro-dd92871fd77face243b51be29bd7f675f985d6e0.zip |
Prevent removing CSS preloads during bundling (#1326)
* Prevent removing nodes, becasue styles preloading was detected earlier
* Add separate deduping for preloads and cover it with tests.
* Create quiet-horses-turn.md
* Test merging preload tags
Diffstat (limited to '.changeset')
-rw-r--r-- | .changeset/quiet-horses-turn.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.changeset/quiet-horses-turn.md b/.changeset/quiet-horses-turn.md new file mode 100644 index 000000000..bd4aab328 --- /dev/null +++ b/.changeset/quiet-horses-turn.md @@ -0,0 +1,5 @@ +--- +"astro": patch +--- + +During CSS bundling separate processing of `rel="preload"` from normal loading stylesheets, to preserve preloads, and source element attributes like `media`. |