Skip to content

Commit 4ac77b1

Browse files
authored
Merge pull request rescript-lang#97 from reason-association/update-next
Upgrade Next & ReScript
2 parents a761c88 + 9490506 commit 4ac77b1

File tree

3 files changed

+1212
-692
lines changed

3 files changed

+1212
-692
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"gray-matter": "^4.0.2",
2222
"highlight.js": "^9.15.10",
2323
"lz-string": "^1.4.4",
24-
"next": "^9.5.1",
24+
"next": "10.0.0",
2525
"next-transpile-modules": "^2.3.1",
2626
"prettier": "^1.18.2",
2727
"react": "^16.12.0",
@@ -52,7 +52,7 @@
5252
},
5353
"devDependencies": {
5454
"autoprefixer": "^9.5.1",
55-
"bs-platform": "8.2.0",
55+
"bs-platform": "8.3.2",
5656
"cssnano": "^4.1.10",
5757
"postcss-cli": "^7.1.1",
5858
"reanalyze": "^2.5.0",

pages/_document.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import React from "react";
2-
import Document, { Head, Main, NextScript } from "next/document";
2+
import Document, { Html, Head, Main, NextScript } from "next/document";
33

44
export default class extends Document {
55
render() {
66
const isProduction = process.env.ENV === "production";
77
return (
8-
<html>
8+
<Html>
99
<Head>
1010
<link
1111
rel="stylesheet"
@@ -36,7 +36,7 @@ export default class extends Document {
3636
</React.Fragment>
3737
)}
3838
</body>
39-
</html>
39+
</Html>
4040
);
4141
}
4242
}

0 commit comments

Comments
 (0)