diff --git a/src/content/guides/package-exports.mdx b/src/content/guides/package-exports.mdx index 65ef09806b64..c31b0eae0026 100644 --- a/src/content/guides/package-exports.mdx +++ b/src/content/guides/package-exports.mdx @@ -145,24 +145,24 @@ Example: `{ "./a/": "./x/", "./a/b/": "./y/", "./a/b/c": "./z" }` == `{ "./a/b/c ## Support -| Feature | Supported by | -| -------------------------------------- | ---------------------------------------------------------------------------------- | -| `"."` property | Node.js, webpack, rollup, esinstall, wmr | -| normal property | Node.js, webpack, rollup, esinstall, wmr | -| property ending with `/` | Node.js(1), webpack, rollup, esinstall(2), wmr(3) | -| property ending with `*` | Node.js, webpack, rollup, esinstall | -| Alternatives | Node.js, webpack, rollup, esinstall(4) | -| Abbreviation only path | Node.js, webpack, rollup, esinstall, wmr | -| Abbreviation only conditions | Node.js, webpack, rollup, esinstall, wmr | -| Conditional syntax | Node.js, webpack, rollup, esinstall, wmr | -| Nested conditional syntax | Node.js, webpack, rollup, wmr(5) | -| Conditions Order | Node.js, webpack, rollup, wmr(6) | -| `"default"` condition | Node.js, webpack, rollup, esinstall, wmr | -| Path Order | Node.js, webpack, rollup | -| Error when not mapped | Node.js, webpack, rollup, esinstall, wmr(7) | -| Error when mixing conditions and paths | Node.js, webpack, rollup | - -(1) deprecated in Node.js, `*` should be preferred. +| Feature | Supported by | +| -------------------------------------- | -------------------------------------------------------------------------------------- | +| `"."` property | Node.js, webpack, rollup, esinstall, wmr | +| normal property | Node.js, webpack, rollup, esinstall, wmr | +| property ending with `/` | ~~Node.js(1)~~, webpack, rollup, esinstall(2), wmr(3) | +| property ending with `*` | Node.js, webpack, rollup, esinstall | +| Alternatives | Node.js, webpack, rollup, esinstall(4) | +| Abbreviation only path | Node.js, webpack, rollup, esinstall, wmr | +| Abbreviation only conditions | Node.js, webpack, rollup, esinstall, wmr | +| Conditional syntax | Node.js, webpack, rollup, esinstall, wmr | +| Nested conditional syntax | Node.js, webpack, rollup, wmr(5) | +| Conditions Order | Node.js, webpack, rollup, wmr(6) | +| `"default"` condition | Node.js, webpack, rollup, esinstall, wmr | +| Path Order | Node.js, webpack, rollup | +| Error when not mapped | Node.js, webpack, rollup, esinstall, wmr(7) | +| Error when mixing conditions and paths | Node.js, webpack, rollup | + +(1) Removed in Node.js 17. Use `*` instead. (2) `"./"` is intentionally ignored as key.