Let next-with-contentlayer own Contentlayer build to avoid CLI error noise

This commit is contained in:
2025-11-17 20:40:58 +08:00
parent b9b5c77bf1
commit bb98a8e06f

View File

@@ -5,7 +5,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "contentlayer build && next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "next lint", "lint": "next lint",
"contentlayer": "contentlayer build" "contentlayer": "contentlayer build"