| 1 | Test package used to cover a loader package that is only defined with `exports.imports` in the `package.json`. |
| 2 | |
| 3 | This must be linked to `node_modules` and be `require`/`import`-ed with a bare specifier, as |
| 4 | defined in algorithm [`ESM_RESOLVE`][] step 5.2: |
| 5 | |
| 6 | ``` |
| 7 | ESM_RESOLVE(specifier, parentURL) |
| 8 | ... |
| 9 | 5. Otherwise, |
| 10 | 1. Note: specifier is now a bare specifier. |
| 11 | 2. Set resolved the result of PACKAGE_RESOLVE(specifier, parentURL). |
| 12 | ``` |
| 13 | |
| 14 | [`ESM_RESOLVE`]: https://nodejs.org/api/esm.html?fts_query=algorithm#resolution-algorithm-specification |