diff --git a/.gitignore b/.gitignore index d2a80c9..8669019 100644 --- a/.gitignore +++ b/.gitignore @@ -42,4 +42,10 @@ sitemap-*.xml # generated files src/lib/runtime.ts -public/manifest.json \ No newline at end of file +public/manifest.json + +# PWA files +public/sw.js +public/sw.js.map +public/workbox-*.js +public/workbox-*.js.map \ No newline at end of file diff --git a/next.config.js b/next.config.js index eef0435..c5d725c 100644 --- a/next.config.js +++ b/next.config.js @@ -8,7 +8,7 @@ const nextConfig = { }, reactStrictMode: false, - swcMinify: false, + swcMinify: true, experimental: { instrumentationHook: process.env.NODE_ENV === 'production',