Skip to content

Commit

Permalink
refactor: update pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
dvgamerr committed Mar 22, 2024
1 parent c97f69e commit 67f63ab
Show file tree
Hide file tree
Showing 3 changed files with 2,361 additions and 404 deletions.
12 changes: 7 additions & 5 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import { defineConfig } from 'astro/config';
import robotsTxt from 'astro-robots-txt';
import sitemap from "@astrojs/sitemap";
import { defineConfig } from 'astro/config'
import AstroPWA from '@vite-pwa/astro'
import robotsTxt from 'astro-robots-txt'
import sitemap from "@astrojs/sitemap"

import webmanifest from "astro-webmanifest";
import webmanifest from "astro-webmanifest"

// https://astro.build/config
export default defineConfig({
site: 'https://dvgamerr.app',
integrations: [
AstroPWA(),
robotsTxt(),
sitemap({
i18n: {
Expand All @@ -29,4 +31,4 @@ export default defineConfig({
display: 'standalone',
})
]
});
})
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"devDependencies": {
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@vite-pwa/astro": "^0.3.1",
"bootstrap": "^5.3.3",
"charts.css": "^1.1.0",
"dayjs": "^1.11.10",
Expand Down
Loading

0 comments on commit 67f63ab

Please sign in to comment.