mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 07:03:25 +00:00
27 lines
524 B
JavaScript
27 lines
524 B
JavaScript
const { i18n } = require("./next-i18next.config");
|
|
|
|
/** @type {import("next").NextConfig} */
|
|
const config = {
|
|
i18n,
|
|
webpack(config) {
|
|
config.module.rules.push({
|
|
test: /\.svg$/,
|
|
use: ["@svgr/webpack"]
|
|
});
|
|
|
|
return config;
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{ hostname: "localhost" },
|
|
{ hostname: "t3.gstatic.com" },
|
|
{ hostname: "lh3.googleusercontent.com" }
|
|
],
|
|
formats: ["image/webp"]
|
|
},
|
|
reactStrictMode: false,
|
|
output: "standalone"
|
|
};
|
|
|
|
module.exports = config;
|