mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 15:05:35 +00:00
refactor: apply prettier conf and cleanup
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user