improve esm wildcard expansion
Essentially, this release enables esmock to resolve the following esm export, see #293
{
"exports": {
"./*": {
"require": "./*.js",
"import": "./*.js"
}
}
}
the following is added to the README,
Note: Typescript loaders ts-node
👍 and tsm
👍 are compatible with other loaders, including esmock. swc
👎 and tsx
👎 are demonstrated as incompatible with other loaders, including esmock.
Full list of changes,
- update README with notice about incompatible typescript loaders
- increment resolvewithplus to support more export patterns, see resolvewithplus v2.1.5
- update publish spec job actions, to use checkout@v4 and setup-node@v4
- remove node 16 from test job matrix, eol 2023, Sep 11 #254 esmock can be used with node 16 today, but removing node 16 from your own test pipelines is recommended