el.xwx.moe/next.config.js

28 lines
535 B
JavaScript
Raw Normal View History

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: {
// For fetching the favicons
2023-03-28 21:45:25 -05:00
domains: ["t2.gstatic.com"],
// For profile pictures (Google OAuth)
remotePatterns: [
{
hostname: "*.googleusercontent.com",
},
],
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;