mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 15:05:35 +00:00
fix: some cases where favicon are broken
This commit is contained in:
@@ -1,25 +1,29 @@
|
||||
const { i18n } = require("./next-i18next.config");
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
/** @type {import("next").NextConfig} */
|
||||
const config = {
|
||||
i18n,
|
||||
webpack(config) {
|
||||
config.module.rules.push({
|
||||
test: /\.svg$/,
|
||||
use: ["@svgr/webpack"],
|
||||
use: ["@svgr/webpack"]
|
||||
});
|
||||
|
||||
return config;
|
||||
},
|
||||
images: {
|
||||
domains: ["localhost", "t3.gstatic.com", "lh3.googleusercontent.com"],
|
||||
formats: ["image/webp"],
|
||||
remotePatterns: [
|
||||
{ hostname: "localhost" },
|
||||
{ hostname: "t3.gstatic.com" },
|
||||
{ hostname: "lh3.googleusercontent.com" }
|
||||
],
|
||||
formats: ["image/webp"]
|
||||
},
|
||||
reactStrictMode: false,
|
||||
experimental: {
|
||||
webpackBuildWorker: true,
|
||||
webpackBuildWorker: true
|
||||
},
|
||||
output: "standalone",
|
||||
output: "standalone"
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
||||
Reference in New Issue
Block a user