try fix build

This commit is contained in:
mtvpls
2025-12-02 23:20:46 +08:00
parent b566e34cc5
commit feb4af39a4
2 changed files with 8 additions and 2 deletions

8
.gitignore vendored
View File

@@ -42,4 +42,10 @@ sitemap-*.xml
# generated files
src/lib/runtime.ts
public/manifest.json
public/manifest.json
# PWA files
public/sw.js
public/sw.js.map
public/workbox-*.js
public/workbox-*.js.map

View File

@@ -8,7 +8,7 @@ const nextConfig = {
},
reactStrictMode: false,
swcMinify: false,
swcMinify: true,
experimental: {
instrumentationHook: process.env.NODE_ENV === 'production',