Skip to content

Commit 00cb4fe

Browse files
authored
ci: fix netlify build issues with babel (#1473)
- netlify build has issues with babel - nvmrc to use latest lts in netlify - bump babel/webpack dependencies in examples as well (need preset 7.9.0+)
1 parent d9e48ca commit 00cb4fe

File tree

4 files changed

+147
-210
lines changed

4 files changed

+147
-210
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/stable
1+
lts/erbium

examples/graphiql-webpack/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
"react": "16.13.1"
1717
},
1818
"devDependencies": {
19-
"@babel/plugin-proposal-class-properties": "7.7.4",
20-
"@babel/plugin-syntax-dynamic-import": "7.8.3",
21-
"@babel/preset-env": "7.8.3",
22-
"@babel/preset-react": "7.8.3",
23-
"babel-loader": "^8.0.6",
24-
"cross-env": "^7.0.0",
25-
"css-loader": "3.4.2",
26-
"html-webpack-plugin": "^3.2.0",
19+
"@babel/plugin-proposal-class-properties": "^7.8.3",
20+
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
21+
"@babel/preset-env": "^7.9.5",
22+
"@babel/preset-react": "^7.9.4",
23+
"babel-loader": "^8.1.0",
24+
"cross-env": "^7.0.2",
25+
"css-loader": "^3.5.1",
26+
"html-webpack-plugin": "^4.2.0",
2727
"react-dom": "^16.12.0",
28-
"style-loader": "^1.1.2",
28+
"style-loader": "^1.1.3",
2929
"webpack": "4.42.0",
30-
"webpack-cli": "^3.3.10",
31-
"webpack-dev-server": "^3.10.1"
30+
"webpack-cli": "^3.3.11",
31+
"webpack-dev-server": "^3.10.3"
3232
}
3333
}

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build]
2-
command = "yarn build && yarn build-bundles && yarn build-demo && yarn build-docs"
2+
command = "yarn build && yarn build-bundles && yarn build-demo"
33
publish = "packages/graphiql"
44

55

0 commit comments

Comments
 (0)