You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/next/README.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1482,7 +1482,7 @@ This is development-only feature. If you want to cache SSR pages in production,
1482
1482
1483
1483
#### Configuring extensions looked for when resolving pages in `pages`
1484
1484
1485
-
Aimed at modules like [`@zeit/next-mdx`](https://github.com/zeit/next-plugins/tree/master/packages/next-mdx), that add support for pages ending with `.mdx`. `pageExtensions` allows you to configure the extensions looked for in the `pages` directory when resolving pages.
1485
+
Aimed at modules like [`@next/mdx`](https://github.com/zeit/next.js/tree/canary/packages/next-mdx), that add support for pages ending with `.mdx`. `pageExtensions` allows you to configure the extensions looked for in the `pages` directory when resolving pages.
1486
1486
1487
1487
```js
1488
1488
// next.config.js
@@ -1546,14 +1546,14 @@ Some commonly asked for features are available as modules:
> **Warning:** The `webpack` function is executed twice, once for the server and once for the client. This allows you to distinguish between client and server configuration using the `isServer` property
1552
1552
1553
1553
Multiple configurations can be combined together with function composition. For example:
1554
1554
1555
1555
```js
1556
-
constwithMDX=require('@zeit/next-mdx')
1556
+
constwithMDX=require('@next/mdx')
1557
1557
constwithSass=require('@zeit/next-sass')
1558
1558
1559
1559
module.exports=withMDX(
@@ -1604,8 +1604,8 @@ Example usage of `defaultLoaders.babel`:
1604
1604
1605
1605
```js
1606
1606
// Example next.config.js for adding a loader that depends on babel-loader
1607
-
// This source was taken from the @zeit/next-mdx plugin source:
0 commit comments