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

Use export esmock.js #183

Merged
merged 3 commits into from
Oct 26, 2022
Merged

Use export esmock.js #183

merged 3 commits into from
Oct 26, 2022

Conversation

iambumblehead
Copy link
Owner

This PR changes the exported file to esmock.js, from esmockLoader.js. Also, a prepublishing script is added to remove scripts from the src directory, leaving esmock.js and esmock.d.ts. The published src directory would look like this,

src/
├── esmock.d.ts
└── esmock.js

please review @tripodsan @aladdin-add. If you approve, I could merge and publish sometime tomorrow.

@iambumblehead
Copy link
Owner Author

iambumblehead commented Oct 26, 2022

pending release notes


This release makes esmock compatible with yarn PnP. To do this, esmock must be published with no dependencies and is instead bundled with resolvewithplus. The list changes for this release,

@iambumblehead iambumblehead merged commit 4aed43b into master Oct 26, 2022
@iambumblehead iambumblehead deleted the use-export-esmock.js branch October 26, 2022 08:56
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.

3 participants