mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-17 19:08:11 -05:00
44 lines
796 B
JavaScript
44 lines
796 B
JavaScript
const withBundleAnalyzer = require("@next/bundle-analyzer")({
|
|
enabled: process.env.ANALYZE === "true",
|
|
});
|
|
|
|
module.exports = withBundleAnalyzer({
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: "/sr",
|
|
destination: "/sr/leaderboards",
|
|
permanent: true,
|
|
},
|
|
];
|
|
},
|
|
experimental: {
|
|
optimizeFonts: true,
|
|
},
|
|
images: {
|
|
domains: ["www.countryflags.io"],
|
|
},
|
|
eslint: {
|
|
dirs: ["pages", "components", "services", "hooks", "utils"],
|
|
},
|
|
// i18n: {
|
|
// v-- import from lib/locales
|
|
// locales: [
|
|
// "de",
|
|
// "el",
|
|
// "en",
|
|
// "es",
|
|
// "fr",
|
|
// "it",
|
|
// "ja",
|
|
// "ko",
|
|
// "nl",
|
|
// "pt",
|
|
// "ru",
|
|
// "sv",
|
|
// "zh",
|
|
// ],
|
|
// defaultLocale: "en",
|
|
// },
|
|
});
|