chore(examples): update reproduction template (#66301)
## Why? We get this error when we use `npx` to download the reproduction-template. ![CleanShot 2024-05-28 at 17 25 40@2x](https://github.com/vercel/next.js/assets/28912696/a2f3c3ce-1a2c-4629-9914-9e88bb9c9632) Updating the template should fix this error.
This commit is contained in:
parent
c4f6645041
commit
06ede796f2
4 changed files with 14 additions and 11 deletions
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
@ -1,6 +0,0 @@
|
|||
/** @type {import("next").NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
8
examples/reproduction-template/next.config.mjs
Normal file
8
examples/reproduction-template/next.config.mjs
Normal file
|
@ -0,0 +1,8 @@
|
|||
/**
|
||||
* @type {import('next').NextConfig}
|
||||
*/
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
};
|
||||
|
||||
export default nextConfig;
|
|
@ -7,12 +7,13 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"next": "canary",
|
||||
"react": "19.0.0-beta-04b058868c-20240508",
|
||||
"react-dom": "19.0.0-beta-04b058868c-20240508"
|
||||
"react": "19.0.0-rc-6f23540c7d-20240528",
|
||||
"react-dom": "19.0.0-rc-6f23540c7d-20240528"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "20.4.5",
|
||||
"@types/react": "18.2.18",
|
||||
"typescript": "5.1.3"
|
||||
"@types/node": "20.12.12",
|
||||
"@types/react": "18.3.3",
|
||||
"@types/react-dom": "18.3.0",
|
||||
"typescript": "5.3.3"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue