Skip to content

Commit 73499e4

Browse files
authored
Add experimental warning note (vercel#41666)
## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## 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)
1 parent 0b669a1 commit 73499e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/next/build/webpack-config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,11 @@ export default async function getBaseWebpackConfig(
593593
'You are using the experimental Node.js Runtime with `experimental.runtime`.'
594594
)
595595
}
596+
if (config.experimental.appDir) {
597+
Log.warn(
598+
'You are using the experimental app directory with `experimental.appDir`, the API might change.'
599+
)
600+
}
596601
}
597602

598603
const babelConfigFile = await BABEL_CONFIG_FILES.reduce(

0 commit comments

Comments
 (0)