Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(esm): add exports map to package.json #18

Merged
merged 1 commit into from
May 31, 2022

Conversation

jgoux
Copy link
Contributor

@jgoux jgoux commented May 31, 2022

What:

Resolves #17

Why:

How:

Checklist:

  • Tests
  • TypeScript definitions updated
  • Ready to be merged

I'm not 100% sure you can point to the same file for both import and require in the exports map, but I assume we can (I looked at https://unpkg.com/browse/@testing-library/[email protected]/package.json and they don't seem to have something special for ESM, so I guess it should work).

@crutchcorn
Copy link
Owner

Checks are failing due to updates to eslint I made 🤦 I'm fixing them in main now

@crutchcorn crutchcorn merged commit a845e04 into crutchcorn:main May 31, 2022
@crutchcorn
Copy link
Owner

@all-contributors please add @jgoux for bug and code

@allcontributors
Copy link
Contributor

@crutchcorn

I've put up a pull request to add @jgoux! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

extend-expect can't be seen by TypeScript ESM modules
2 participants