Skip to content

Commit 73a414f

Browse files
committedJun 4, 2022
migrate to next12
1 parent 2725b38 commit 73a414f

File tree

4 files changed

+133
-1359
lines changed

4 files changed

+133
-1359
lines changed
 

‎next-env.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/// <reference types="next" />
2-
/// <reference types="next/types/global" />
32
/// <reference types="next/image-types/global" />
43

54
// NOTE: This file should not be edited

‎next.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
module.exports = {
22
reactStrictMode: true,
3-
}
3+
swcMinify: true,
4+
};

‎package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"localforage": "^1.9.0",
2424
"monaco-editor": "^0.25.1",
2525
"monaco-jsx-highlighter": "^1.1.8",
26-
"next": "^11.1.2",
26+
"next": "^12.1.6",
2727
"nprogress": "^0.2.0",
2828
"rc-tabs": "^11.9.1",
2929
"react": "17.0.2",
@@ -36,6 +36,7 @@
3636
"yarn": "^1.22.10"
3737
},
3838
"devDependencies": {
39+
"@types/node": "^17.0.39",
3940
"@types/prettier": "^2.3.0",
4041
"autoprefixer": "^10.2.6",
4142
"eslint": "7.29.0",

‎yarn.lock

+129-1,356
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.