next-enterprise/next.config.js

29 lines
567 B
JavaScript
Raw Normal View History

2024-03-13 20:16:29 +01:00
// // next.config.js
// module.exports = {
// // ... rest of the configuration.
// output: "standalone",
// async redirects() {
// return [
// {
// source: "/",
// destination: "/home",
// permanent: true,
// },
// ]
// },
// }
const withPWA = require("next-pwa")({
dest: "public",
swSrc: "public/service-worker.js",
disable: process.env.NODE_ENV === "development",
register: true,
skipWaiting: true,
})
module.exports = withPWA({
reactStrictMode: true,
// next.js config
2024-02-29 09:33:34 +01:00
output: "standalone",
2024-03-13 20:16:29 +01:00
})