Skip to content

Commit

Permalink
added new exclue
Browse files Browse the repository at this point in the history
  • Loading branch information
andorsk committed May 7, 2024
1 parent c542e6d commit 5c69a12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const withPWA = require("next-pwa")({
dest: "public",
customWorkerDir: "src/workers",
runtimeCaching,
buildExcludes: [/middleware-manifest.json$/],
buildExcludes: [/middleware-manifest.json$/, "/app-build-manifest.json$/"],
});

/** @type {import('next').NextConfig} */
Expand Down Expand Up @@ -33,7 +33,7 @@ const nextConfig = {
},
pwa: {
runtimeCaching,
buildExcludes: [/middleware-manifest.json$/],
buildExcludes: [/middleware-manifest.json$/, "/app-build-manifest.json$/"],
},
webpack: (config, { isServer }) => {
const registerJs = path.join(
Expand Down

0 comments on commit 5c69a12

Please sign in to comment.