Skip to content

Commit d645d14

Browse files
committed
chore(docs): attempt to fix netlify build
See https://answers.netlify.com/t/gatsby-build-failed-globalthis-is-not-defined/33763 for details.
1 parent 812cdf3 commit d645d14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"lint": "kcd-scripts lint",
4141
"format": "kcd-scripts format",
4242
"coverage": "codecov",
43-
"docs:dev": "npm install --no-save @emotion/core@^10.0.0 && docz dev",
44-
"docs:build": "npm install --no-save @emotion/core@^10.0.0 && docz build",
43+
"docs:dev": "npm install --no-save @emotion/core@^10 && docz dev",
44+
"docs:build": "npm install --no-save @emotion/core@^10 gatsby@^2 && docz build",
4545
"contributors:add": "all-contributors add",
4646
"install:react": "npm install --no-save react@${REACT_VERSION:-latest} react-dom@${REACT_VERSION:-latest} react-test-renderer@${REACT_VERSION:-latest}",
4747
"install:react-16.9.0": "cross-env REACT_VERSION=16.9.0 npm run install:react",

0 commit comments

Comments
 (0)