Skip to content

Commit 5db1a13

Browse files
committed
contentlayer build prior to build step
1 parent 88da085 commit 5db1a13

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitpod.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tasks:
2-
- init: yarn install && yarn contentlayer build
2+
- init: yarn install
33
command: gp open posts/change-me.md && yarn dev
44

55
ports:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
7-
"build": "next build",
7+
"build": "contentlayer build && next build",
88
"start": "next start"
99
},
1010
"dependencies": {

0 commit comments

Comments
 (0)