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 22
33 base = " /"
44 publish = " /public"
5- command = " ./stackbit- build.sh "
5+ command = " yarn run build"
66
7- [context .production ]
7+ [enviroment .production ]
88 NODE_ENV = " production"
99 NODE_VERSION = " 14.17.x"
1010 NPM_VERSION = " 7.20.x"
3232 pwa = 0.4
3333
3434 # optional, deploy the lighthouse report to a path under your site
35- [plugins .inputs ]
35+ [plugins .inputs . audits ]
3636 output_path = " reports/lighthouse/.html"
3737
3838[[plugins ]]
Original file line number Diff line number Diff line change 77 "scripts" : {
88 "develop" : " gatsby develop" ,
99 "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" ,
1113 "serve" : " gatsby serve"
1214 },
1315 "dependencies" : {
You can’t perform that action at this time.
0 commit comments