Can we add exports field for this package?
envgap__JedWatson__classnames-321
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
ea8e8398a680acb0ab740d5d062794c71b43ea96- Manifest
package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
JedWatson/classnames #321 · read the original issue
Hi, i try to use classnames in nodejs and i need to import `classnames/bind` but not `classnames/bind.js` (because of my bundler config)
can we add something like this:
```json
{
"exports": {
".": {
"default": "./index.js"
},
"./bind": {
"default": "./bind.js"
},
"./dedupe": {
"default": "./dedupe.js"
}
},
}
```
in package.json of classnames?04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]