Change using-preact example dependencies and docs (#30394)
* change use-preact dependencies * change stackblitz url to use https protocol * change deprecated thing from the webpack5 doc
This commit is contained in:
parent
0f96308419
commit
37d1100825
3 changed files with 9 additions and 9 deletions
|
@ -37,7 +37,7 @@ In case you do have custom webpack configuration, either through custom plugins
|
|||
|
||||
- When using `next-transpile-modules` make sure you use the latest version which includes [this patch](https://github.com/martpie/next-transpile-modules/pull/179)
|
||||
- When using `@zeit/next-css` / `@zeit/next-sass` make sure you use the [built-in CSS/Sass support](https://nextjs.org/docs/basic-features/built-in-css-support) instead
|
||||
- When using `@zeit/next-preact` use [this example](https://github.com/vercel/next-plugins/tree/master/packages/next-preact) instead
|
||||
- When using `@zeit/next-preact` use [this example](https://github.com/vercel/next.js/tree/canary/examples/using-preact) instead
|
||||
- When using `@zeit/next-source-maps` use the [built-in production Source Map support](https://nextjs.org/docs/advanced-features/source-maps)
|
||||
- When using webpack plugins make sure they're upgraded to the latest version, in most cases the latest version will include webpack 5 support. In some cases these upgraded webpack plugins will only support webpack 5.
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ This example uses [Preact](https://github.com/preactjs/preact) instead of React.
|
|||
|
||||
## Preview
|
||||
|
||||
Preview the example live on [StackBlitz](http://stackblitz.com/):
|
||||
Preview the example live on [StackBlitz](https://stackblitz.com/):
|
||||
|
||||
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/using-preact)
|
||||
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"dependencies": {
|
||||
"next": "^10.0.0",
|
||||
"next-plugin-preact": "^3.0.3",
|
||||
"preact": "^10.5.5",
|
||||
"preact-render-to-string": "^5.1.11",
|
||||
"react": "npm:@preact/compat",
|
||||
"react-dom": "npm:@preact/compat",
|
||||
"react-ssr-prepass": "npm:preact-ssr-prepass@^1.1.2"
|
||||
"next": "^12.0.0",
|
||||
"next-plugin-preact": "^3.0.6",
|
||||
"preact": "^10.5.15",
|
||||
"preact-render-to-string": "^5.1.19",
|
||||
"react": "npm:@preact/compat@^17.0.2",
|
||||
"react-dom": "npm:@preact/compat@^17.0.2",
|
||||
"react-ssr-prepass": "npm:preact-ssr-prepass@^1.2.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue