web/next.config.js

27 lines
667 B
JavaScript
Raw Normal View History

2023-10-19 11:44:56 +03:30
/** @type {import('next').NextConfig} */
2024-11-02 04:48:38 +03:30
// const withPWA = require("@ducanh2912/next-pwa").default({
// cacheOnFrontEndNav: true,
// aggressiveFrontEndNavCaching: true,
// reloadOnOnline: true,
// swcMinify: true,
// dest: "public",
// fallbacks: {
// document: "/offline", // fallback to custom page
// },
// workboxOptions: {
// disableDevLogs: true,
// },
// });
2024-05-20 22:03:46 +03:30
2024-10-19 14:56:55 +03:30
const createNextIntlPlugin = require("next-intl/plugin");
// Initialize the next-intl plugin
const withNextIntl = createNextIntlPlugin();
// Merge the configurations
2024-05-20 22:03:46 +03:30
const nextConfig = {};
2024-10-19 14:56:55 +03:30
// Export the combined configuration
2024-11-02 04:48:38 +03:30
module.exports = withNextIntl(nextConfig);