File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
base = " /"
4
4
publish = " /public"
5
- command = " ./stackbit- build.sh "
5
+ command = " yarn run build"
6
6
7
- [context .production ]
7
+ [enviroment .production ]
8
8
NODE_ENV = " production"
9
9
NODE_VERSION = " 14.17.x"
10
10
NPM_VERSION = " 7.20.x"
32
32
pwa = 0.4
33
33
34
34
# optional, deploy the lighthouse report to a path under your site
35
- [plugins .inputs ]
35
+ [plugins .inputs . audits ]
36
36
output_path = " reports/lighthouse/.html"
37
37
38
38
[[plugins ]]
Original file line number Diff line number Diff line change 7
7
"scripts" : {
8
8
"develop" : " gatsby develop" ,
9
9
"start" : " yarn run develop" ,
10
- "build" : " cross-env GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES=true gatsby build --prefix-paths --log-pages" ,
10
+ "build" : " echo 'started build' && yarn run stackbit && yarn install && yarn run compile && echo 'finished build' && yarn run serve" ,
11
+ "stackbit" : " npx @stackbit/stackbit-pull --stackbit-pull-api-url=https://api.stackbit.com/pull/60323df295aa610015b59f66 --stackbit-api-key=STACKBIT_API_KEY" ,
12
+ "compile" : " cross-env GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES=true gatsby build --prefix-paths --log-pages" ,
11
13
"serve" : " gatsby serve"
12
14
},
13
15
"dependencies" : {
You can’t perform that action at this time.
0 commit comments