-
Notifications
You must be signed in to change notification settings - Fork 2
Add "exports" section to package.json #254
Copy link
Copy link
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Add an "exports" section to the package.json to define the cjs/esm versions (https://nodejs.org/api/packages.html#conditional-exports). Some downstream tools (vitest: https://github.com./vitest-dev/vitest/discussions/4233) fail to recognize the current method we are using (defining "module" in the package.json file).
Unclear if there would be other downstream effects from adding in this "exports" section.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed