@@ -252,8 +252,6 @@ absolute subpath of the package such as |
252 | 252 |
|
253 | 253 | ### Subpath exports |
254 | 254 |
|
255 | | -> Stability: 1 - Experimental |
256 | | -
|
257 | 255 | When using the [`"exports"`][] field, custom subpaths can be defined along |
258 | 256 | with the main entry point by treating the main entry point as the |
259 | 257 | `"."` subpath: |
@@ -284,8 +282,6 @@ import submodule from 'es-module-package/private-module.js'; |
284 | 282 |
|
285 | 283 | ### Subpath imports |
286 | 284 |
|
287 | | -> Stability: 1 - Experimental |
288 | | -
|
289 | 285 | In addition to the [`"exports"`][] field, it is possible to define internal |
290 | 286 | package import maps that only apply to import specifiers from within the package |
291 | 287 | itself. |
@@ -369,8 +365,6 @@ targets, this expansion is dependent on only the files of the package itself. |
369 | 365 |
|
370 | 366 | ### Exports sugar |
371 | 367 |
|
372 | | -> Stability: 1 - Experimental |
373 | | -
|
374 | 368 | If the `"."` export is the only export, the [`"exports"`][] field provides sugar |
375 | 369 | for this case being the direct [`"exports"`][] field value. |
376 | 370 |
|
@@ -395,8 +389,6 @@ can be written: |
395 | 389 |
|
396 | 390 | ### Conditional exports |
397 | 391 |
|
398 | | -> Stability: 1 - Experimental |
399 | | -
|
400 | 392 | Conditional exports provide a way to map to different paths depending on |
401 | 393 | certain conditions. They are supported for both CommonJS and ES module imports. |
402 | 394 |
|
@@ -475,8 +467,6 @@ order to support packages with conditional exports. For this reason, using |
475 | 467 |
|
476 | 468 | ### Nested conditions |
477 | 469 |
|
478 | | -> Stability: 1 - Experimental |
479 | | -
|
480 | 470 | In addition to direct mappings, Node.js also supports nested condition objects. |
481 | 471 |
|
482 | 472 | For example, to define a package that only has dual mode entry points for |
@@ -904,8 +894,6 @@ changes: |
904 | 894 | description: Unflag `--experimental-modules`. |
905 | 895 | --> |
906 | 896 |
|
907 | | -> Stability: 1 - Experimental |
908 | | - |
909 | 897 | * Type: {string} |
910 | 898 |
|
911 | 899 | The `"type"` field defines the module format that Node.js uses for all |
@@ -972,8 +960,6 @@ changes: |
972 | 960 | description: Implement conditional exports. |
973 | 961 | --> |
974 | 962 |
|
975 | | -> Stability: 1 - Experimental |
976 | | - |
977 | 963 | * Type: {Object} | {string} | {string[]} |
978 | 964 |
|
979 | 965 | ```json |
@@ -1000,8 +986,6 @@ All paths defined in the `"exports"` must be relative file URLs starting with |
1000 | 986 | added: v14.6.0 |
1001 | 987 | --> |
1002 | 988 |
|
1003 | | -> Stability: 1 - Experimental |
1004 | | - |
1005 | 989 | * Type: {Object} |
1006 | 990 |
|
1007 | 991 | ```json |
|