feat: dont' use sw for now

This commit is contained in:
Ayo Ayco 2024-09-05 09:31:39 +02:00
parent 3906325662
commit 8b71f6ab69

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import serviceWorker from '@ayco/astro-sw';
// import serviceWorker from '@ayco/astro-sw';
import sitemap from "@astrojs/sitemap";
// https://astro.build/config
@ -7,17 +7,17 @@ export default defineConfig({
site: 'https://ayo.ayco.io',
integrations: [
sitemap(),
serviceWorker({
path: './src/sw.mjs',
assetCachePrefix: 'ayco-personal-site',
assetCacheVersionID: 'hey-mama',
logAssets: true,
excludeRoutes: [
'/threads'
],
esbuild: {
minify: true
}
})
// serviceWorker({
// path: './src/sw.mjs',
// assetCachePrefix: 'ayco-personal-site',
// assetCacheVersionID: 'hey-mama',
// logAssets: true,
// excludeRoutes: [
// '/threads'
// ],
// esbuild: {
// minify: true
// }
// })
]
});