cal.pub0.org/apps/ai/next.config.js

25 lines
544 B
JavaScript
Raw Permalink Normal View History

const withBundleAnalyzer = require("@next/bundle-analyzer");
const plugins = [];
plugins.push(withBundleAnalyzer({ enabled: process.env.ANALYZE === "true" }));
/** @type {import("next").NextConfig} */
const nextConfig = {
2023-09-04 16:21:37 +00:00
async redirects() {
return [
{
source: "/",
destination: "https://cal.com/ai",
2023-09-04 16:21:37 +00:00
permanent: true,
},
];
2023-09-04 16:21:37 +00:00
},
i18n: {
defaultLocale: "en",
locales: ["en"],
},
reactStrictMode: true,
};
module.exports = () => plugins.reduce((acc, next) => next(acc), nextConfig);