Skip to content

Commit 65446bc

Browse files
committed
chore: update demo next & react deps
1 parent f3f1014 commit 65446bc

File tree

3 files changed

+466
-235
lines changed

3 files changed

+466
-235
lines changed

example/next.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
/** @type {import('next').NextConfig} */
22
module.exports = {
3-
reactStrictMode: true
3+
reactStrictMode: true,
4+
images: {
5+
loader: 'custom',
6+
loaderFile: "./node_modules/@uploadcare/nextjs-loader/build/loader.js",
7+
},
48
}

example/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
},
1212
"dependencies": {
1313
"@uploadcare/nextjs-loader": "link:../",
14-
"next": "^12.1.6",
15-
"react": "^18.1.0",
16-
"react-dom": "^18.1.0",
14+
"next": "^13.0.4",
15+
"react": "^18.2.0",
16+
"react-dom": "^18.2.0",
1717
"yarn": "^1.22.18"
1818
},
1919
"devDependencies": {
2020
"@types/node": "^17.0.40",
21-
"@types/react": "^18.0.12",
21+
"@types/react": "^18.0.25",
2222
"eslint": "^8.17.0",
23-
"eslint-config-next": "^12.1.6",
23+
"eslint-config-next": "^13.0.4",
2424
"typescript": "^4.7.3"
2525
}
2626
}

0 commit comments

Comments
 (0)