summaryrefslogtreecommitdiff
path: root/next.config.js
blob: cb8597e5d88bfc5c501fb5fb51262bc44d0d11e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** @type {import('next').NextConfig} */
const withPWA = require("@ducanh2912/next-pwa").default({
  dest: "public",
  cacheOnFrontEndNav: true,
  aggressiveFrontEndNavCaching: true,
  reloadOnOnline: true,
  swcMinify: true,
  disable: process.env.NODE_ENV === "development",
  workboxOptions: { disableDevLogs: true },
});

const nextConfig = {};

module.exports = withPWA(nextConfig);