Skip to content

Commit

Permalink
deps: Restores astro-compress (#2)
Browse files Browse the repository at this point in the history
* Update package.json

* Update astro.config.mjs
  • Loading branch information
NikolaRHristov authored Aug 18, 2023
1 parent 63c1d7e commit 0d9b0dc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import solidJs from "@astrojs/solid-js";
import prefetch from "@astrojs/prefetch";
import sitemap from "@astrojs/sitemap";
import compressor from "astro-compressor";
import compress from "@otterlord/astro-compress";
import critters from "@otterlord/astro-critters";
//import rome from "@otterlord/astro-rome";
import compress from "astro-compress";
import critters from "astro-critters";
import rome from "astro-rome";
//import webmanifest from 'astro-webmanifest'; // TODO

//import deno from '@astrojs/deno';
Expand All @@ -30,12 +30,12 @@ export default defineConfig({
lastmod: new Date(),
changefreq: 'monthly',
}), critters(),
//rome(),
compress(), partytown({
rome(),
partytown({
config: {
forward: ["dataLayer.push"]
}
}), compressor()],
}), compressor(), compress()],
experimental: {
//assets: true,
//viewTransitions: true
Expand All @@ -55,4 +55,4 @@ export default defineConfig({
minify: "terser"
}
}
});
});
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"@motionone/solid": "^10.16.2",
"@nanostores/persistent": "^0.9.1",
"@nanostores/solid": "^0.4.2",
"@otterlord/astro-compress": "^1.1.48",
"@otterlord/astro-critters": "^1.1.41",
"@otterlord/astro-rome": "^0.1.21",
"astro-compress": "^2.0.12",
"astro-critters": "^2.0.10",
"astro-rome": "^2.0.7",
"@swup/a11y-plugin": "^3.0.0",
"@swup/debug-plugin": "^3.0.0",
"@swup/fade-theme": "^1.0.5",
Expand Down

0 comments on commit 0d9b0dc

Please sign in to comment.