Skip to content

Commit 95e7204

Browse files
committed
Set NODE_ENV=production for builds
1 parent 04a367f commit 95e7204

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
@@ -4,7 +4,7 @@
44
"packageManager": "[email protected]",
55
"scripts": {
66
"dev": "next",
7-
"build": "next build && pagefind --site .next/server/app --output-path out/_pagefind",
7+
"build": "NODE_ENV=production next build && pagefind --site .next/server/app --output-path out/_pagefind",
88
"start": "next start",
99
"prettier:check": "prettier --list-different .",
1010
"prettier:fix": "prettier --write ."

0 commit comments

Comments
 (0)