diff --git a/docs/config/index.md b/docs/config/index.md index 225d8b2f6ae938..1e824b7e431350 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -241,6 +241,10 @@ export default defineConfig(({ command, mode }) => { Vite has a list of "allowed conditions" and will match the first condition that is in the allowed list. The default allowed conditions are: `import`, `module`, `browser`, `default`, and `production/development` based on current mode. The `resolve.conditions` config option allows specifying additional allowed conditions. + :::warning Resolving subpath exports + Export keys ending with "/" is deprecated by Node and may not work well. Please contact the package author to use [`*` subpath patterns](https://nodejs.org/api/packages.html#package-entry-points) instead. + ::: + ### resolve.mainFields - **Type:** `string[]`