Skip to content

Commit 1029e55

Browse files
committed
Reuse the existing 'build' script
1 parent b1af451 commit 1029e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"spellcheck": "cspell \"src/**/*.mdx\" --no-progress",
134134
"spellcheck-diff": "git diff --name-only --cached | awk \"/src.*\\.mdx/{print}\" | npx cspell --no-must-find-files --file-list stdin",
135135
"build": "node tasks/generate-sitemap.mjs && next build && next export -o client/www/next-build",
136-
"build:release": "node tasks/generate-sitemap.mjs && next build && next export -o client/www/next-build && next-image-export-optimizer --exportFolderPath client/www/next-build",
136+
"build:release": "yarn build && next-image-export-optimizer --exportFolderPath client/www/next-build",
137137
"next-build": "next build",
138138
"next-start": "next start",
139139
"prepare": "husky install"

0 commit comments

Comments
 (0)