From 226f6c5c1ec4e6a41046c306b24a7d0032927f67 Mon Sep 17 00:00:00 2001 From: iOdiO89 <117376841+iOdiO89@users.noreply.github.com> Date: Sun, 23 Jun 2024 20:56:48 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20svg=20import=20path=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.js | 8 ++++---- package.json | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/next.config.js b/next.config.js index 256733c..2df829d 100644 --- a/next.config.js +++ b/next.config.js @@ -2,7 +2,10 @@ const nextConfig = { images: { - domains: ["image.tmdb.org"], + domains: ["https://team-ollie.github.io/WeCare-FE/"], + loader: "default", + path: "/", + unoptimized: true, }, webpack: (config) => { config.module.rules.push({ @@ -16,9 +19,6 @@ const nextConfig = { styledComponents: true, }, output: "export", - images: { - unoptimized: true, - }, }; module.exports = nextConfig; diff --git a/package.json b/package.json index b70304f..f65cca9 100644 --- a/package.json +++ b/package.json @@ -44,5 +44,8 @@ "eslint-config-next": "14.0.3", "typescript": "5.4.5" }, + "build": { + "optimizeImages": true + }, "packageManager": "yarn@4.2.2" }