Skip to content

Commit

Permalink
chore: Update npm dependencies and import astro-compress for image co…
Browse files Browse the repository at this point in the history
…mpression
  • Loading branch information
RND332 committed Jun 16, 2024
1 parent 192512f commit 2fd32b6
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 41 deletions.
18 changes: 6 additions & 12 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,15 @@ import mdx from '@astrojs/mdx';
import { shield } from '@kindspells/astro-shield';
import sitemap from "@astrojs/sitemap";
import partytown from "@astrojs/partytown";
import playformCompress from "@playform/compress";
import compress from "astro-compress";

// https://astro.build/config
export default defineConfig({
integrations: [
tailwind(),
mdx(),
sitemap(),
shield({}),
playformCompress(),
partytown({
config: {
forward: ["dataLayer.push"],
},
})],
integrations: [tailwind(), mdx(), sitemap(), shield({}), partytown({
config: {
forward: ["dataLayer.push"]
}
}), compress()],
site: 'https://rnd332.com',
build: {
inlineStylesheets: 'always'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"@astrojs/react": "^3.4.0",
"@astrojs/sitemap": "^3.1.5",
"@astrojs/tailwind": "^5.1.0",
"@playform/compress": "^0.0.13",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"astro": "^4.9.3",
"astro-compress": "^2.2.28",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sharp": "^0.33.4",
Expand Down
56 changes: 28 additions & 28 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed public/bg.png
Binary file not shown.

0 comments on commit 2fd32b6

Please sign in to comment.