Unverified Commit 87026c89 authored by Alex's avatar Alex Committed by GitHub

Update introduction.md (#41226)

Fixed link to phases lines in the documentation



## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
Co-authored-by: 's avatarJJ Kasper <22380829+ijjk@users.noreply.github.com>
parent 5e25bd21
...@@ -62,7 +62,7 @@ module.exports = async (phase, { defaultConfig }) => { ...@@ -62,7 +62,7 @@ module.exports = async (phase, { defaultConfig }) => {
} }
``` ```
`phase` is the current context in which the configuration is loaded. You can see the [available phases](https://github.com/vercel/next.js/blob/canary/packages/next/shared/lib/constants.ts#L1-L5). Phases can be imported from `next/constants`: `phase` is the current context in which the configuration is loaded. You can see the [available phases](https://github.com/vercel/next.js/blob/5e6b008b561caf2710ab7be63320a3d549474a5b/packages/next/shared/lib/constants.ts#L19-L23). Phases can be imported from `next/constants`:
```js ```js
const { PHASE_DEVELOPMENT_SERVER } = require('next/constants') const { PHASE_DEVELOPMENT_SERVER } = require('next/constants')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment