Skip to content

Commit ecac753

Browse files
committed
update to next.js 10
1 parent 023f3fa commit ecac753

File tree

3 files changed

+1518
-1236
lines changed

3 files changed

+1518
-1236
lines changed

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"intersection-observer": "^0.11.0",
1515
"lower-case": "^2.0.1",
1616
"neuquant": "^1.0.2",
17-
"next": "^9.5.2",
17+
"next": "^10.0.0",
1818
"node-fetch": "^2.6.0",
1919
"onegraph-auth": "^3.0.0",
2020
"pixel-stream": "^1.0.3",
@@ -50,7 +50,11 @@
5050
"extends": "react-app"
5151
},
5252
"browserslist": {
53-
"production": [">0.2%", "not dead", "not op_mini all"],
53+
"production": [
54+
">0.2%",
55+
"not dead",
56+
"not op_mini all"
57+
],
5458
"development": [
5559
"last 1 chrome version",
5660
"last 1 firefox version",

src/pages/post/[...slug].js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export async function getStaticPaths() {
4848
const paths = await generateStaticPaths();
4949
return {
5050
paths,
51-
fallback: true,
51+
fallback: 'blocking',
5252
};
5353
}
5454

0 commit comments

Comments
 (0)