From 889b7866ce8bf9e55f68ae184983a7b63711c5af Mon Sep 17 00:00:00 2001 From: Igor Starostenko Date: Sun, 8 Jan 2023 23:17:42 -0800 Subject: [PATCH] Fixed next-image-export-optimizer breaking change --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f54766f..c2c5f6b 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "build:analyze": "npm run build && npm run analyze", "build:dir": "mkdirp ./public/icons/ && mkdirp ./public/images/", "build:favicons": "node scripts/favicons", - "build:images": "npm run contentful:assets && next-image-export-optimizer --exportFolderPath=out", + "build:images": "npm run contentful:assets && next-image-export-optimizer --exportFolderPath=out --nextConfigPath=next.config.js", "build:sitemap": "next-sitemap", "build": "npm run build:dir && npm run build:favicons && next build && npm run build:sitemap && next export && npm run build:images", "contentful:assets": "node scripts/contentful_assets.js",