2023-01-22 15:39:35 -06:00
|
|
|
/** @type {import('next').NextConfig} */
|
2024-04-19 05:16:11 -05:00
|
|
|
const { version } = require("./package.json");
|
2024-05-27 16:42:29 -05:00
|
|
|
const { i18n } = require("./next-i18next.config");
|
2024-04-19 05:16:11 -05:00
|
|
|
|
2023-01-22 15:39:35 -06:00
|
|
|
const nextConfig = {
|
2024-05-27 16:42:29 -05:00
|
|
|
i18n,
|
2023-01-22 15:39:35 -06:00
|
|
|
reactStrictMode: true,
|
2024-11-13 21:19:18 -06:00
|
|
|
staticPageGenerationTimeout: 1000,
|
2023-03-10 23:10:10 -06:00
|
|
|
images: {
|
2024-05-07 15:59:00 -05:00
|
|
|
// For fetching the favicons
|
2023-03-28 21:45:25 -05:00
|
|
|
domains: ["t2.gstatic.com"],
|
2024-05-07 15:59:00 -05:00
|
|
|
|
|
|
|
// For profile pictures (Google OAuth)
|
|
|
|
remotePatterns: [
|
|
|
|
{
|
|
|
|
hostname: "*.googleusercontent.com",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
|
2023-10-27 23:45:14 -05:00
|
|
|
minimumCacheTTL: 10,
|
2023-03-10 23:10:10 -06:00
|
|
|
},
|
2024-04-19 05:16:11 -05:00
|
|
|
env: {
|
|
|
|
version,
|
|
|
|
},
|
2023-02-06 11:59:23 -06:00
|
|
|
};
|
2023-01-22 15:39:35 -06:00
|
|
|
|
2023-02-06 11:59:23 -06:00
|
|
|
module.exports = nextConfig;
|