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

26 lines
544 B
JavaScript
Raw 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',
permanent: true,
},
]
},
i18n: {
defaultLocale: "en",
locales: ["en"],
},
reactStrictMode: true,
};
module.exports = () => plugins.reduce((acc, next) => next(acc), nextConfig);
2023-09-04 16:21:37 +00:00