Skip to content

Commit 1b5e689

Browse files
committed
Fix rm .next command
1 parent a03cedf commit 1b5e689

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
"prepare": "husky",
55
"gen-tags": "node scripts/gen-tags.mjs",
66
"dev": "npm run gen-tags && next",
7-
"build": "npm run gen-tags && rm -r .next && next build",
7+
"build": "npm run gen-tags && rm -r .next 2> /dev/null || next build",
88
"start": "next start"
99
},
1010
"dependencies": {

0 commit comments

Comments
 (0)