refactor: apply prettier conf and cleanup

This commit is contained in:
Sonny
2023-11-26 02:04:09 +01:00
parent c0af440302
commit 9a5f661df4
120 changed files with 1229 additions and 9101 deletions

View File

@@ -1,4 +1,4 @@
const { i18n } = require("./next-i18next.config");
const { i18n } = require('./next-i18next.config');
/** @type {import("next").NextConfig} */
const config = {
@@ -6,22 +6,22 @@ const config = {
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
use: ["@svgr/webpack"],
use: ['@svgr/webpack'],
});
return config;
},
images: {
remotePatterns: [
{ hostname: "localhost" },
{ hostname: "t3.gstatic.com" },
{ hostname: "lh3.googleusercontent.com" },
{ hostname: "www.mylinks.app" },
{ hostname: 'localhost' },
{ hostname: 't3.gstatic.com' },
{ hostname: 'lh3.googleusercontent.com' },
{ hostname: 'www.mylinks.app' },
],
formats: ["image/webp"],
formats: ['image/webp'],
},
reactStrictMode: false,
output: "standalone",
output: 'standalone',
};
module.exports = config;